1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataLabellingService
  5. getDatasets
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.DataLabellingService.getDatasets

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides the list of Datasets in Oracle Cloud Infrastructure Data Labeling Service service.

    Returns a list of Datasets.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDatasets = oci.DataLabellingService.getDatasets({
        compartmentId: compartmentId,
        annotationFormat: datasetAnnotationFormat,
        displayName: datasetDisplayName,
        id: datasetId,
        state: datasetState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_datasets = oci.DataLabellingService.get_datasets(compartment_id=compartment_id,
        annotation_format=dataset_annotation_format,
        display_name=dataset_display_name,
        id=dataset_id,
        state=dataset_state)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataLabellingService"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DataLabellingService.GetDatasets(ctx, &datalabellingservice.GetDatasetsArgs{
    			CompartmentId:    compartmentId,
    			AnnotationFormat: pulumi.StringRef(datasetAnnotationFormat),
    			DisplayName:      pulumi.StringRef(datasetDisplayName),
    			Id:               pulumi.StringRef(datasetId),
    			State:            pulumi.StringRef(datasetState),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testDatasets = Oci.DataLabellingService.GetDatasets.Invoke(new()
        {
            CompartmentId = compartmentId,
            AnnotationFormat = datasetAnnotationFormat,
            DisplayName = datasetDisplayName,
            Id = datasetId,
            State = datasetState,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataLabellingService.DataLabellingServiceFunctions;
    import com.pulumi.oci.DataLabellingService.inputs.GetDatasetsArgs;
    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 testDatasets = DataLabellingServiceFunctions.getDatasets(GetDatasetsArgs.builder()
                .compartmentId(compartmentId)
                .annotationFormat(datasetAnnotationFormat)
                .displayName(datasetDisplayName)
                .id(datasetId)
                .state(datasetState)
                .build());
    
        }
    }
    
    variables:
      testDatasets:
        fn::invoke:
          Function: oci:DataLabellingService:getDatasets
          Arguments:
            compartmentId: ${compartmentId}
            annotationFormat: ${datasetAnnotationFormat}
            displayName: ${datasetDisplayName}
            id: ${datasetId}
            state: ${datasetState}
    

    Using getDatasets

    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 getDatasets(args: GetDatasetsArgs, opts?: InvokeOptions): Promise<GetDatasetsResult>
    function getDatasetsOutput(args: GetDatasetsOutputArgs, opts?: InvokeOptions): Output<GetDatasetsResult>
    def get_datasets(annotation_format: Optional[str] = None,
                     compartment_id: Optional[str] = None,
                     display_name: Optional[str] = None,
                     filters: Optional[Sequence[_datalabellingservice.GetDatasetsFilter]] = None,
                     id: Optional[str] = None,
                     state: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetDatasetsResult
    def get_datasets_output(annotation_format: Optional[pulumi.Input[str]] = None,
                     compartment_id: Optional[pulumi.Input[str]] = None,
                     display_name: Optional[pulumi.Input[str]] = None,
                     filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datalabellingservice.GetDatasetsFilterArgs]]]] = None,
                     id: Optional[pulumi.Input[str]] = None,
                     state: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetDatasetsResult]
    func GetDatasets(ctx *Context, args *GetDatasetsArgs, opts ...InvokeOption) (*GetDatasetsResult, error)
    func GetDatasetsOutput(ctx *Context, args *GetDatasetsOutputArgs, opts ...InvokeOption) GetDatasetsResultOutput

    > Note: This function is named GetDatasets in the Go SDK.

    public static class GetDatasets 
    {
        public static Task<GetDatasetsResult> InvokeAsync(GetDatasetsArgs args, InvokeOptions? opts = null)
        public static Output<GetDatasetsResult> Invoke(GetDatasetsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDatasetsResult> getDatasets(GetDatasetsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DataLabellingService/getDatasets:getDatasets
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The ID of the compartment in which to list resources.
    AnnotationFormat string
    A filter to return only resources that match the entire annotation format given.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters List<GetDatasetsFilter>
    Id string
    Unique Dataset OCID
    State string
    A filter to return only resources whose lifecycleState matches this query param.
    CompartmentId string
    The ID of the compartment in which to list resources.
    AnnotationFormat string
    A filter to return only resources that match the entire annotation format given.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters []GetDatasetsFilter
    Id string
    Unique Dataset OCID
    State string
    A filter to return only resources whose lifecycleState matches this query param.
    compartmentId String
    The ID of the compartment in which to list resources.
    annotationFormat String
    A filter to return only resources that match the entire annotation format given.
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<GetDatasetsFilter>
    id String
    Unique Dataset OCID
    state String
    A filter to return only resources whose lifecycleState matches this query param.
    compartmentId string
    The ID of the compartment in which to list resources.
    annotationFormat string
    A filter to return only resources that match the entire annotation format given.
    displayName string
    A filter to return only resources that match the entire display name given.
    filters GetDatasetsFilter[]
    id string
    Unique Dataset OCID
    state string
    A filter to return only resources whose lifecycleState matches this query param.
    compartment_id str
    The ID of the compartment in which to list resources.
    annotation_format str
    A filter to return only resources that match the entire annotation format given.
    display_name str
    A filter to return only resources that match the entire display name given.
    filters Sequence[datalabellingservice.GetDatasetsFilter]
    id str
    Unique Dataset OCID
    state str
    A filter to return only resources whose lifecycleState matches this query param.
    compartmentId String
    The ID of the compartment in which to list resources.
    annotationFormat String
    A filter to return only resources that match the entire annotation format given.
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<Property Map>
    id String
    Unique Dataset OCID
    state String
    A filter to return only resources whose lifecycleState matches this query param.

    getDatasets Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment of the resource.
    DatasetCollections List<GetDatasetsDatasetCollection>
    The list of dataset_collection.
    AnnotationFormat string
    The annotation format name required for labeling records.
    DisplayName string
    A user-friendly display name for the resource.
    Filters List<GetDatasetsFilter>
    Id string
    The OCID of the Dataset.
    State string
    The state of a dataset. CREATING - The dataset is being created. It will transition to ACTIVE when it is ready for labeling. ACTIVE - The dataset is ready for labeling. UPDATING - The dataset is being updated. It and its related resources may be unavailable for other updates until it returns to ACTIVE. NEEDS_ATTENTION - A dataset updation operation has failed due to validation or other errors and needs attention. DELETING - The dataset and its related resources are being deleted. DELETED - The dataset has been deleted and is no longer available. FAILED - The dataset has failed due to validation or other errors.
    CompartmentId string
    The OCID of the compartment of the resource.
    DatasetCollections []GetDatasetsDatasetCollection
    The list of dataset_collection.
    AnnotationFormat string
    The annotation format name required for labeling records.
    DisplayName string
    A user-friendly display name for the resource.
    Filters []GetDatasetsFilter
    Id string
    The OCID of the Dataset.
    State string
    The state of a dataset. CREATING - The dataset is being created. It will transition to ACTIVE when it is ready for labeling. ACTIVE - The dataset is ready for labeling. UPDATING - The dataset is being updated. It and its related resources may be unavailable for other updates until it returns to ACTIVE. NEEDS_ATTENTION - A dataset updation operation has failed due to validation or other errors and needs attention. DELETING - The dataset and its related resources are being deleted. DELETED - The dataset has been deleted and is no longer available. FAILED - The dataset has failed due to validation or other errors.
    compartmentId String
    The OCID of the compartment of the resource.
    datasetCollections List<GetDatasetsDatasetCollection>
    The list of dataset_collection.
    annotationFormat String
    The annotation format name required for labeling records.
    displayName String
    A user-friendly display name for the resource.
    filters List<GetDatasetsFilter>
    id String
    The OCID of the Dataset.
    state String
    The state of a dataset. CREATING - The dataset is being created. It will transition to ACTIVE when it is ready for labeling. ACTIVE - The dataset is ready for labeling. UPDATING - The dataset is being updated. It and its related resources may be unavailable for other updates until it returns to ACTIVE. NEEDS_ATTENTION - A dataset updation operation has failed due to validation or other errors and needs attention. DELETING - The dataset and its related resources are being deleted. DELETED - The dataset has been deleted and is no longer available. FAILED - The dataset has failed due to validation or other errors.
    compartmentId string
    The OCID of the compartment of the resource.
    datasetCollections GetDatasetsDatasetCollection[]
    The list of dataset_collection.
    annotationFormat string
    The annotation format name required for labeling records.
    displayName string
    A user-friendly display name for the resource.
    filters GetDatasetsFilter[]
    id string
    The OCID of the Dataset.
    state string
    The state of a dataset. CREATING - The dataset is being created. It will transition to ACTIVE when it is ready for labeling. ACTIVE - The dataset is ready for labeling. UPDATING - The dataset is being updated. It and its related resources may be unavailable for other updates until it returns to ACTIVE. NEEDS_ATTENTION - A dataset updation operation has failed due to validation or other errors and needs attention. DELETING - The dataset and its related resources are being deleted. DELETED - The dataset has been deleted and is no longer available. FAILED - The dataset has failed due to validation or other errors.
    compartment_id str
    The OCID of the compartment of the resource.
    dataset_collections Sequence[datalabellingservice.GetDatasetsDatasetCollection]
    The list of dataset_collection.
    annotation_format str
    The annotation format name required for labeling records.
    display_name str
    A user-friendly display name for the resource.
    filters Sequence[datalabellingservice.GetDatasetsFilter]
    id str
    The OCID of the Dataset.
    state str
    The state of a dataset. CREATING - The dataset is being created. It will transition to ACTIVE when it is ready for labeling. ACTIVE - The dataset is ready for labeling. UPDATING - The dataset is being updated. It and its related resources may be unavailable for other updates until it returns to ACTIVE. NEEDS_ATTENTION - A dataset updation operation has failed due to validation or other errors and needs attention. DELETING - The dataset and its related resources are being deleted. DELETED - The dataset has been deleted and is no longer available. FAILED - The dataset has failed due to validation or other errors.
    compartmentId String
    The OCID of the compartment of the resource.
    datasetCollections List<Property Map>
    The list of dataset_collection.
    annotationFormat String
    The annotation format name required for labeling records.
    displayName String
    A user-friendly display name for the resource.
    filters List<Property Map>
    id String
    The OCID of the Dataset.
    state String
    The state of a dataset. CREATING - The dataset is being created. It will transition to ACTIVE when it is ready for labeling. ACTIVE - The dataset is ready for labeling. UPDATING - The dataset is being updated. It and its related resources may be unavailable for other updates until it returns to ACTIVE. NEEDS_ATTENTION - A dataset updation operation has failed due to validation or other errors and needs attention. DELETING - The dataset and its related resources are being deleted. DELETED - The dataset has been deleted and is no longer available. FAILED - The dataset has failed due to validation or other errors.

    Supporting Types

    GetDatasetsDatasetCollection

    Items List<GetDatasetsDatasetCollectionItem>
    An ordered collection of labels that are unique by name.
    Items []GetDatasetsDatasetCollectionItem
    An ordered collection of labels that are unique by name.
    items List<GetDatasetsDatasetCollectionItem>
    An ordered collection of labels that are unique by name.
    items GetDatasetsDatasetCollectionItem[]
    An ordered collection of labels that are unique by name.
    items Sequence[datalabellingservice.GetDatasetsDatasetCollectionItem]
    An ordered collection of labels that are unique by name.
    items List<Property Map>
    An ordered collection of labels that are unique by name.

    GetDatasetsDatasetCollectionItem

    AdditionalProperties Dictionary<string, string>
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    AnnotationFormat string
    A filter to return only resources that match the entire annotation format given.
    CompartmentId string
    The ID of the compartment in which to list resources.
    DatasetFormatDetails List<GetDatasetsDatasetCollectionItemDatasetFormatDetail>
    It specifies how to process the data. Supported formats include DOCUMENT, IMAGE, and TEXT.
    DatasetSourceDetails List<GetDatasetsDatasetCollectionItemDatasetSourceDetail>
    This allows the customer to specify the source of the dataset.
    DefinedTags Dictionary<string, string>
    The defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
    Description string
    A user provided description of the dataset
    DisplayName string
    A filter to return only resources that match the entire display name given.
    FreeformTags Dictionary<string, string>
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    Id string
    Unique Dataset OCID
    InitialImportDatasetConfigurations List<GetDatasetsDatasetCollectionItemInitialImportDatasetConfiguration>
    Initial import dataset configuration. Allows user to create dataset from existing dataset files.
    InitialRecordGenerationConfigurations List<GetDatasetsDatasetCollectionItemInitialRecordGenerationConfiguration>
    The initial generate records configuration. It generates records from the dataset's source.
    LabelSets List<GetDatasetsDatasetCollectionItemLabelSet>
    An ordered collection of labels that are unique by name.
    LabelingInstructions string
    The labeling instructions for human labelers in rich text format
    LifecycleDetails string
    A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in FAILED or NEEDS_ATTENTION state.
    LifecycleSubstate string
    The sub-state of the dataset. IMPORT_DATASET - The dataset is being imported.
    State string
    A filter to return only resources whose lifecycleState matches this query param.
    TimeCreated string
    The date and time the resource was created, in the timestamp format defined by RFC3339.
    TimeUpdated string
    The date and time the resource was last updated, in the timestamp format defined by RFC3339.
    AdditionalProperties map[string]string
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    AnnotationFormat string
    A filter to return only resources that match the entire annotation format given.
    CompartmentId string
    The ID of the compartment in which to list resources.
    DatasetFormatDetails []GetDatasetsDatasetCollectionItemDatasetFormatDetail
    It specifies how to process the data. Supported formats include DOCUMENT, IMAGE, and TEXT.
    DatasetSourceDetails []GetDatasetsDatasetCollectionItemDatasetSourceDetail
    This allows the customer to specify the source of the dataset.
    DefinedTags map[string]string
    The defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
    Description string
    A user provided description of the dataset
    DisplayName string
    A filter to return only resources that match the entire display name given.
    FreeformTags map[string]string
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    Id string
    Unique Dataset OCID
    InitialImportDatasetConfigurations []GetDatasetsDatasetCollectionItemInitialImportDatasetConfiguration
    Initial import dataset configuration. Allows user to create dataset from existing dataset files.
    InitialRecordGenerationConfigurations []GetDatasetsDatasetCollectionItemInitialRecordGenerationConfiguration
    The initial generate records configuration. It generates records from the dataset's source.
    LabelSets []GetDatasetsDatasetCollectionItemLabelSet
    An ordered collection of labels that are unique by name.
    LabelingInstructions string
    The labeling instructions for human labelers in rich text format
    LifecycleDetails string
    A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in FAILED or NEEDS_ATTENTION state.
    LifecycleSubstate string
    The sub-state of the dataset. IMPORT_DATASET - The dataset is being imported.
    State string
    A filter to return only resources whose lifecycleState matches this query param.
    TimeCreated string
    The date and time the resource was created, in the timestamp format defined by RFC3339.
    TimeUpdated string
    The date and time the resource was last updated, in the timestamp format defined by RFC3339.
    additionalProperties Map<String,String>
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    annotationFormat String
    A filter to return only resources that match the entire annotation format given.
    compartmentId String
    The ID of the compartment in which to list resources.
    datasetFormatDetails List<GetDatasetsDatasetCollectionItemDatasetFormatDetail>
    It specifies how to process the data. Supported formats include DOCUMENT, IMAGE, and TEXT.
    datasetSourceDetails List<GetDatasetsDatasetCollectionItemDatasetSourceDetail>
    This allows the customer to specify the source of the dataset.
    definedTags Map<String,String>
    The defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
    description String
    A user provided description of the dataset
    displayName String
    A filter to return only resources that match the entire display name given.
    freeformTags Map<String,String>
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    id String
    Unique Dataset OCID
    initialImportDatasetConfigurations List<GetDatasetsDatasetCollectionItemInitialImportDatasetConfiguration>
    Initial import dataset configuration. Allows user to create dataset from existing dataset files.
    initialRecordGenerationConfigurations List<GetDatasetsDatasetCollectionItemInitialRecordGenerationConfiguration>
    The initial generate records configuration. It generates records from the dataset's source.
    labelSets List<GetDatasetsDatasetCollectionItemLabelSet>
    An ordered collection of labels that are unique by name.
    labelingInstructions String
    The labeling instructions for human labelers in rich text format
    lifecycleDetails String
    A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in FAILED or NEEDS_ATTENTION state.
    lifecycleSubstate String
    The sub-state of the dataset. IMPORT_DATASET - The dataset is being imported.
    state String
    A filter to return only resources whose lifecycleState matches this query param.
    timeCreated String
    The date and time the resource was created, in the timestamp format defined by RFC3339.
    timeUpdated String
    The date and time the resource was last updated, in the timestamp format defined by RFC3339.
    additionalProperties {[key: string]: string}
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    annotationFormat string
    A filter to return only resources that match the entire annotation format given.
    compartmentId string
    The ID of the compartment in which to list resources.
    datasetFormatDetails GetDatasetsDatasetCollectionItemDatasetFormatDetail[]
    It specifies how to process the data. Supported formats include DOCUMENT, IMAGE, and TEXT.
    datasetSourceDetails GetDatasetsDatasetCollectionItemDatasetSourceDetail[]
    This allows the customer to specify the source of the dataset.
    definedTags {[key: string]: string}
    The defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
    description string
    A user provided description of the dataset
    displayName string
    A filter to return only resources that match the entire display name given.
    freeformTags {[key: string]: string}
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    id string
    Unique Dataset OCID
    initialImportDatasetConfigurations GetDatasetsDatasetCollectionItemInitialImportDatasetConfiguration[]
    Initial import dataset configuration. Allows user to create dataset from existing dataset files.
    initialRecordGenerationConfigurations GetDatasetsDatasetCollectionItemInitialRecordGenerationConfiguration[]
    The initial generate records configuration. It generates records from the dataset's source.
    labelSets GetDatasetsDatasetCollectionItemLabelSet[]
    An ordered collection of labels that are unique by name.
    labelingInstructions string
    The labeling instructions for human labelers in rich text format
    lifecycleDetails string
    A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in FAILED or NEEDS_ATTENTION state.
    lifecycleSubstate string
    The sub-state of the dataset. IMPORT_DATASET - The dataset is being imported.
    state string
    A filter to return only resources whose lifecycleState matches this query param.
    timeCreated string
    The date and time the resource was created, in the timestamp format defined by RFC3339.
    timeUpdated string
    The date and time the resource was last updated, in the timestamp format defined by RFC3339.
    additional_properties Mapping[str, str]
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    annotation_format str
    A filter to return only resources that match the entire annotation format given.
    compartment_id str
    The ID of the compartment in which to list resources.
    dataset_format_details Sequence[datalabellingservice.GetDatasetsDatasetCollectionItemDatasetFormatDetail]
    It specifies how to process the data. Supported formats include DOCUMENT, IMAGE, and TEXT.
    dataset_source_details Sequence[datalabellingservice.GetDatasetsDatasetCollectionItemDatasetSourceDetail]
    This allows the customer to specify the source of the dataset.
    defined_tags Mapping[str, str]
    The defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
    description str
    A user provided description of the dataset
    display_name str
    A filter to return only resources that match the entire display name given.
    freeform_tags Mapping[str, str]
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    id str
    Unique Dataset OCID
    initial_import_dataset_configurations Sequence[datalabellingservice.GetDatasetsDatasetCollectionItemInitialImportDatasetConfiguration]
    Initial import dataset configuration. Allows user to create dataset from existing dataset files.
    initial_record_generation_configurations Sequence[datalabellingservice.GetDatasetsDatasetCollectionItemInitialRecordGenerationConfiguration]
    The initial generate records configuration. It generates records from the dataset's source.
    label_sets Sequence[datalabellingservice.GetDatasetsDatasetCollectionItemLabelSet]
    An ordered collection of labels that are unique by name.
    labeling_instructions str
    The labeling instructions for human labelers in rich text format
    lifecycle_details str
    A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in FAILED or NEEDS_ATTENTION state.
    lifecycle_substate str
    The sub-state of the dataset. IMPORT_DATASET - The dataset is being imported.
    state str
    A filter to return only resources whose lifecycleState matches this query param.
    time_created str
    The date and time the resource was created, in the timestamp format defined by RFC3339.
    time_updated str
    The date and time the resource was last updated, in the timestamp format defined by RFC3339.
    additionalProperties Map<String>
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    annotationFormat String
    A filter to return only resources that match the entire annotation format given.
    compartmentId String
    The ID of the compartment in which to list resources.
    datasetFormatDetails List<Property Map>
    It specifies how to process the data. Supported formats include DOCUMENT, IMAGE, and TEXT.
    datasetSourceDetails List<Property Map>
    This allows the customer to specify the source of the dataset.
    definedTags Map<String>
    The defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {"foo-namespace": {"bar-key": "value"}}
    description String
    A user provided description of the dataset
    displayName String
    A filter to return only resources that match the entire display name given.
    freeformTags Map<String>
    A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {"bar-key": "value"}
    id String
    Unique Dataset OCID
    initialImportDatasetConfigurations List<Property Map>
    Initial import dataset configuration. Allows user to create dataset from existing dataset files.
    initialRecordGenerationConfigurations List<Property Map>
    The initial generate records configuration. It generates records from the dataset's source.
    labelSets List<Property Map>
    An ordered collection of labels that are unique by name.
    labelingInstructions String
    The labeling instructions for human labelers in rich text format
    lifecycleDetails String
    A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in FAILED or NEEDS_ATTENTION state.
    lifecycleSubstate String
    The sub-state of the dataset. IMPORT_DATASET - The dataset is being imported.
    state String
    A filter to return only resources whose lifecycleState matches this query param.
    timeCreated String
    The date and time the resource was created, in the timestamp format defined by RFC3339.
    timeUpdated String
    The date and time the resource was last updated, in the timestamp format defined by RFC3339.

    GetDatasetsDatasetCollectionItemDatasetFormatDetail

    FormatType string
    It defines the format type of text files.
    TextFileTypeMetadatas List<GetDatasetsDatasetCollectionItemDatasetFormatDetailTextFileTypeMetadata>
    Metadata for files with text content.
    FormatType string
    It defines the format type of text files.
    TextFileTypeMetadatas []GetDatasetsDatasetCollectionItemDatasetFormatDetailTextFileTypeMetadata
    Metadata for files with text content.
    formatType String
    It defines the format type of text files.
    textFileTypeMetadatas List<GetDatasetsDatasetCollectionItemDatasetFormatDetailTextFileTypeMetadata>
    Metadata for files with text content.
    formatType string
    It defines the format type of text files.
    textFileTypeMetadatas GetDatasetsDatasetCollectionItemDatasetFormatDetailTextFileTypeMetadata[]
    Metadata for files with text content.
    formatType String
    It defines the format type of text files.
    textFileTypeMetadatas List<Property Map>
    Metadata for files with text content.

    GetDatasetsDatasetCollectionItemDatasetFormatDetailTextFileTypeMetadata

    ColumnDelimiter string
    A column delimiter
    ColumnIndex int
    The index of a selected column. This is a zero-based index.
    ColumnName string
    The name of a selected column.
    EscapeCharacter string
    An escape character.
    FormatType string
    It defines the format type of text files.
    LineDelimiter string
    A line delimiter.
    ColumnDelimiter string
    A column delimiter
    ColumnIndex int
    The index of a selected column. This is a zero-based index.
    ColumnName string
    The name of a selected column.
    EscapeCharacter string
    An escape character.
    FormatType string
    It defines the format type of text files.
    LineDelimiter string
    A line delimiter.
    columnDelimiter String
    A column delimiter
    columnIndex Integer
    The index of a selected column. This is a zero-based index.
    columnName String
    The name of a selected column.
    escapeCharacter String
    An escape character.
    formatType String
    It defines the format type of text files.
    lineDelimiter String
    A line delimiter.
    columnDelimiter string
    A column delimiter
    columnIndex number
    The index of a selected column. This is a zero-based index.
    columnName string
    The name of a selected column.
    escapeCharacter string
    An escape character.
    formatType string
    It defines the format type of text files.
    lineDelimiter string
    A line delimiter.
    column_delimiter str
    A column delimiter
    column_index int
    The index of a selected column. This is a zero-based index.
    column_name str
    The name of a selected column.
    escape_character str
    An escape character.
    format_type str
    It defines the format type of text files.
    line_delimiter str
    A line delimiter.
    columnDelimiter String
    A column delimiter
    columnIndex Number
    The index of a selected column. This is a zero-based index.
    columnName String
    The name of a selected column.
    escapeCharacter String
    An escape character.
    formatType String
    It defines the format type of text files.
    lineDelimiter String
    A line delimiter.

    GetDatasetsDatasetCollectionItemDatasetSourceDetail

    Bucket string
    Bucket name
    Namespace string
    Bucket namespace name
    Prefix string
    A common path prefix shared by the objects that make up the dataset. Except for the CSV file type, records are not generated for the objects whose names exactly match with the prefix.
    SourceType string
    The type of data source. OBJECT_STORAGE - The source details for an object storage bucket.
    Bucket string
    Bucket name
    Namespace string
    Bucket namespace name
    Prefix string
    A common path prefix shared by the objects that make up the dataset. Except for the CSV file type, records are not generated for the objects whose names exactly match with the prefix.
    SourceType string
    The type of data source. OBJECT_STORAGE - The source details for an object storage bucket.
    bucket String
    Bucket name
    namespace String
    Bucket namespace name
    prefix String
    A common path prefix shared by the objects that make up the dataset. Except for the CSV file type, records are not generated for the objects whose names exactly match with the prefix.
    sourceType String
    The type of data source. OBJECT_STORAGE - The source details for an object storage bucket.
    bucket string
    Bucket name
    namespace string
    Bucket namespace name
    prefix string
    A common path prefix shared by the objects that make up the dataset. Except for the CSV file type, records are not generated for the objects whose names exactly match with the prefix.
    sourceType string
    The type of data source. OBJECT_STORAGE - The source details for an object storage bucket.
    bucket str
    Bucket name
    namespace str
    Bucket namespace name
    prefix str
    A common path prefix shared by the objects that make up the dataset. Except for the CSV file type, records are not generated for the objects whose names exactly match with the prefix.
    source_type str
    The type of data source. OBJECT_STORAGE - The source details for an object storage bucket.
    bucket String
    Bucket name
    namespace String
    Bucket namespace name
    prefix String
    A common path prefix shared by the objects that make up the dataset. Except for the CSV file type, records are not generated for the objects whose names exactly match with the prefix.
    sourceType String
    The type of data source. OBJECT_STORAGE - The source details for an object storage bucket.

    GetDatasetsDatasetCollectionItemInitialImportDatasetConfiguration

    importFormats List<Property Map>
    File format details used for importing dataset
    importMetadataPaths List<Property Map>
    Object storage path for the metadata file

    GetDatasetsDatasetCollectionItemInitialImportDatasetConfigurationImportFormat

    Name string
    An unique name for a label within its dataset.
    Version string
    Version of import format
    Name string
    An unique name for a label within its dataset.
    Version string
    Version of import format
    name String
    An unique name for a label within its dataset.
    version String
    Version of import format
    name string
    An unique name for a label within its dataset.
    version string
    Version of import format
    name str
    An unique name for a label within its dataset.
    version str
    Version of import format
    name String
    An unique name for a label within its dataset.
    version String
    Version of import format

    GetDatasetsDatasetCollectionItemInitialImportDatasetConfigurationImportMetadataPath

    Bucket string
    Bucket name
    Namespace string
    Bucket namespace name
    Path string
    Path for the metadata file.
    SourceType string
    The type of data source. OBJECT_STORAGE - The source details for an object storage bucket.
    Bucket string
    Bucket name
    Namespace string
    Bucket namespace name
    Path string
    Path for the metadata file.
    SourceType string
    The type of data source. OBJECT_STORAGE - The source details for an object storage bucket.
    bucket String
    Bucket name
    namespace String
    Bucket namespace name
    path String
    Path for the metadata file.
    sourceType String
    The type of data source. OBJECT_STORAGE - The source details for an object storage bucket.
    bucket string
    Bucket name
    namespace string
    Bucket namespace name
    path string
    Path for the metadata file.
    sourceType string
    The type of data source. OBJECT_STORAGE - The source details for an object storage bucket.
    bucket str
    Bucket name
    namespace str
    Bucket namespace name
    path str
    Path for the metadata file.
    source_type str
    The type of data source. OBJECT_STORAGE - The source details for an object storage bucket.
    bucket String
    Bucket name
    namespace String
    Bucket namespace name
    path String
    Path for the metadata file.
    sourceType String
    The type of data source. OBJECT_STORAGE - The source details for an object storage bucket.

    GetDatasetsDatasetCollectionItemLabelSet

    Items List<GetDatasetsDatasetCollectionItemLabelSetItem>
    An ordered collection of labels that are unique by name.
    Items []GetDatasetsDatasetCollectionItemLabelSetItem
    An ordered collection of labels that are unique by name.
    items List<GetDatasetsDatasetCollectionItemLabelSetItem>
    An ordered collection of labels that are unique by name.
    items GetDatasetsDatasetCollectionItemLabelSetItem[]
    An ordered collection of labels that are unique by name.
    items Sequence[datalabellingservice.GetDatasetsDatasetCollectionItemLabelSetItem]
    An ordered collection of labels that are unique by name.
    items List<Property Map>
    An ordered collection of labels that are unique by name.

    GetDatasetsDatasetCollectionItemLabelSetItem

    Name string
    An unique name for a label within its dataset.
    Name string
    An unique name for a label within its dataset.
    name String
    An unique name for a label within its dataset.
    name string
    An unique name for a label within its dataset.
    name str
    An unique name for a label within its dataset.
    name String
    An unique name for a label within its dataset.

    GetDatasetsFilter

    Name string
    An unique name for a label within its dataset.
    Values List<string>
    Regex bool
    Name string
    An unique name for a label within its dataset.
    Values []string
    Regex bool
    name String
    An unique name for a label within its dataset.
    values List<String>
    regex Boolean
    name string
    An unique name for a label within its dataset.
    values string[]
    regex boolean
    name str
    An unique name for a label within its dataset.
    values Sequence[str]
    regex bool
    name String
    An unique name for a label within its dataset.
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi