Oracle Cloud Infrastructure
Dataset
This resource provides the Dataset resource in Oracle Cloud Infrastructure Data Labeling Service service.
Creates a new Dataset.
Example Usage
using Pulumi;
using Oci = Pulumi.Oci;
class MyStack : Stack
{
public MyStack()
{
var testDataset = new Oci.DataLabellingService.Dataset("testDataset", new Oci.DataLabellingService.DatasetArgs
{
AnnotationFormat = @var.Dataset_annotation_format,
CompartmentId = @var.Compartment_id,
DatasetFormatDetails = new Oci.DataLabellingService.Inputs.DatasetDatasetFormatDetailsArgs
{
FormatType = @var.Dataset_dataset_format_details_format_type,
},
DatasetSourceDetails = new Oci.DataLabellingService.Inputs.DatasetDatasetSourceDetailsArgs
{
Bucket = @var.Dataset_dataset_source_details_bucket,
Namespace = @var.Dataset_dataset_source_details_namespace,
SourceType = @var.Dataset_dataset_source_details_source_type,
Prefix = @var.Dataset_dataset_source_details_prefix,
},
LabelSet = new Oci.DataLabellingService.Inputs.DatasetLabelSetArgs
{
Items =
{
new Oci.DataLabellingService.Inputs.DatasetLabelSetItemArgs
{
Name = @var.Dataset_label_set_items_name,
},
},
},
DefinedTags = @var.Dataset_defined_tags,
Description = @var.Dataset_description,
DisplayName = @var.Dataset_display_name,
FreeformTags = @var.Dataset_freeform_tags,
InitialRecordGenerationConfiguration = ,
LabelingInstructions = @var.Dataset_labeling_instructions,
});
}
}
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/DataLabellingService"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DataLabellingService.NewDataset(ctx, "testDataset", &DataLabellingService.DatasetArgs{
AnnotationFormat: pulumi.Any(_var.Dataset_annotation_format),
CompartmentId: pulumi.Any(_var.Compartment_id),
DatasetFormatDetails: &datalabellingservice.DatasetDatasetFormatDetailsArgs{
FormatType: pulumi.Any(_var.Dataset_dataset_format_details_format_type),
},
DatasetSourceDetails: &datalabellingservice.DatasetDatasetSourceDetailsArgs{
Bucket: pulumi.Any(_var.Dataset_dataset_source_details_bucket),
Namespace: pulumi.Any(_var.Dataset_dataset_source_details_namespace),
SourceType: pulumi.Any(_var.Dataset_dataset_source_details_source_type),
Prefix: pulumi.Any(_var.Dataset_dataset_source_details_prefix),
},
LabelSet: &datalabellingservice.DatasetLabelSetArgs{
Items: datalabellingservice.DatasetLabelSetItemArray{
&datalabellingservice.DatasetLabelSetItemArgs{
Name: pulumi.Any(_var.Dataset_label_set_items_name),
},
},
},
DefinedTags: pulumi.Any(_var.Dataset_defined_tags),
Description: pulumi.Any(_var.Dataset_description),
DisplayName: pulumi.Any(_var.Dataset_display_name),
FreeformTags: pulumi.Any(_var.Dataset_freeform_tags),
InitialRecordGenerationConfiguration: nil,
LabelingInstructions: pulumi.Any(_var.Dataset_labeling_instructions),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_oci as oci
test_dataset = oci.data_labelling_service.Dataset("testDataset",
annotation_format=var["dataset_annotation_format"],
compartment_id=var["compartment_id"],
dataset_format_details=oci.data.labelling.service.DatasetDatasetFormatDetailsArgs(
format_type=var["dataset_dataset_format_details_format_type"],
),
dataset_source_details=oci.data.labelling.service.DatasetDatasetSourceDetailsArgs(
bucket=var["dataset_dataset_source_details_bucket"],
namespace=var["dataset_dataset_source_details_namespace"],
source_type=var["dataset_dataset_source_details_source_type"],
prefix=var["dataset_dataset_source_details_prefix"],
),
label_set=oci.data.labelling.service.DatasetLabelSetArgs(
items=[oci.data.labelling.service.DatasetLabelSetItemArgs(
name=var["dataset_label_set_items_name"],
)],
),
defined_tags=var["dataset_defined_tags"],
description=var["dataset_description"],
display_name=var["dataset_display_name"],
freeform_tags=var["dataset_freeform_tags"],
initial_record_generation_configuration=oci.data.labelling.service.DatasetInitialRecordGenerationConfigurationArgs(),
labeling_instructions=var["dataset_labeling_instructions"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDataset = new oci.datalabellingservice.Dataset("testDataset", {
annotationFormat: _var.dataset_annotation_format,
compartmentId: _var.compartment_id,
datasetFormatDetails: {
formatType: _var.dataset_dataset_format_details_format_type,
},
datasetSourceDetails: {
bucket: _var.dataset_dataset_source_details_bucket,
namespace: _var.dataset_dataset_source_details_namespace,
sourceType: _var.dataset_dataset_source_details_source_type,
prefix: _var.dataset_dataset_source_details_prefix,
},
labelSet: {
items: [{
name: _var.dataset_label_set_items_name,
}],
},
definedTags: _var.dataset_defined_tags,
description: _var.dataset_description,
displayName: _var.dataset_display_name,
freeformTags: _var.dataset_freeform_tags,
initialRecordGenerationConfiguration: {},
labelingInstructions: _var.dataset_labeling_instructions,
});
Coming soon!
Create a Dataset Resource
new Dataset(name: string, args: DatasetArgs, opts?: CustomResourceOptions);
@overload
def Dataset(resource_name: str,
opts: Optional[ResourceOptions] = None,
annotation_format: Optional[str] = None,
compartment_id: Optional[str] = None,
dataset_format_details: Optional[_datalabellingservice.DatasetDatasetFormatDetailsArgs] = None,
dataset_source_details: Optional[_datalabellingservice.DatasetDatasetSourceDetailsArgs] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
initial_record_generation_configuration: Optional[_datalabellingservice.DatasetInitialRecordGenerationConfigurationArgs] = None,
label_set: Optional[_datalabellingservice.DatasetLabelSetArgs] = None,
labeling_instructions: Optional[str] = None)
@overload
def Dataset(resource_name: str,
args: DatasetArgs,
opts: Optional[ResourceOptions] = None)
func NewDataset(ctx *Context, name string, args DatasetArgs, opts ...ResourceOption) (*Dataset, error)
public Dataset(string name, DatasetArgs args, CustomResourceOptions? opts = null)
public Dataset(String name, DatasetArgs args)
public Dataset(String name, DatasetArgs args, CustomResourceOptions options)
type: oci:DataLabellingService:Dataset
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatasetArgs
- 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 DatasetArgs
- 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 DatasetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatasetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DatasetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Dataset Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Dataset resource accepts the following input properties:
- Annotation
Format string The annotation format name required for labeling records.
- Compartment
Id string (Updatable) The OCID of the compartment of the resource.
- Dataset
Format DatasetDetails Dataset Format Details Args Specifies how to process the data. Supported formats include IMAGE and TEXT.
- Dataset
Source DatasetDetails Dataset Source Details Args This allows the customer to specify the source of the dataset.
- Label
Set DatasetLabel Set Args An ordered collection of Labels that are unique by name.
- Dictionary<string, object>
(Updatable) The defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- Description string
(Updatable) A user provided description of the dataset
- Display
Name string (Updatable) A user-friendly display name for the resource.
- Dictionary<string, object>
(Updatable) 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"}
- Initial
Record DatasetGeneration Configuration Initial Record Generation Configuration Args Initial Generate Records configuration, generates records from the Dataset's source.
- Labeling
Instructions string The labeling instructions for human labelers in rich text format
- Annotation
Format string The annotation format name required for labeling records.
- Compartment
Id string (Updatable) The OCID of the compartment of the resource.
- Dataset
Format DatasetDetails Dataset Format Details Args Specifies how to process the data. Supported formats include IMAGE and TEXT.
- Dataset
Source DatasetDetails Dataset Source Details Args This allows the customer to specify the source of the dataset.
- Label
Set DatasetLabel Set Args An ordered collection of Labels that are unique by name.
- map[string]interface{}
(Updatable) The defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- Description string
(Updatable) A user provided description of the dataset
- Display
Name string (Updatable) A user-friendly display name for the resource.
- map[string]interface{}
(Updatable) 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"}
- Initial
Record DatasetGeneration Configuration Initial Record Generation Configuration Args Initial Generate Records configuration, generates records from the Dataset's source.
- Labeling
Instructions string The labeling instructions for human labelers in rich text format
- annotation
Format String The annotation format name required for labeling records.
- compartment
Id String (Updatable) The OCID of the compartment of the resource.
- dataset
Format DatasetDetails Dataset Format Details Args Specifies how to process the data. Supported formats include IMAGE and TEXT.
- dataset
Source DatasetDetails Dataset Source Details Args This allows the customer to specify the source of the dataset.
- label
Set DatasetLabel Set Args An ordered collection of Labels that are unique by name.
- Map<String,Object>
(Updatable) The defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- description String
(Updatable) A user provided description of the dataset
- display
Name String (Updatable) A user-friendly display name for the resource.
- Map<String,Object>
(Updatable) 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"}
- initial
Record DatasetGeneration Configuration Initial Record Generation Configuration Args Initial Generate Records configuration, generates records from the Dataset's source.
- labeling
Instructions String The labeling instructions for human labelers in rich text format
- annotation
Format string The annotation format name required for labeling records.
- compartment
Id string (Updatable) The OCID of the compartment of the resource.
- dataset
Format DatasetDetails Dataset Format Details Args Specifies how to process the data. Supported formats include IMAGE and TEXT.
- dataset
Source DatasetDetails Dataset Source Details Args This allows the customer to specify the source of the dataset.
- label
Set DatasetLabel Set Args An ordered collection of Labels that are unique by name.
- {[key: string]: any}
(Updatable) The defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- description string
(Updatable) A user provided description of the dataset
- display
Name string (Updatable) A user-friendly display name for the resource.
- {[key: string]: any}
(Updatable) 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"}
- initial
Record DatasetGeneration Configuration Initial Record Generation Configuration Args Initial Generate Records configuration, generates records from the Dataset's source.
- labeling
Instructions string The labeling instructions for human labelers in rich text format
- annotation_
format str The annotation format name required for labeling records.
- compartment_
id str (Updatable) The OCID of the compartment of the resource.
- dataset_
format_ Datasetdetails Dataset Format Details Args Specifies how to process the data. Supported formats include IMAGE and TEXT.
- dataset_
source_ Datasetdetails Dataset Source Details Args This allows the customer to specify the source of the dataset.
- label_
set DatasetLabel Set Args An ordered collection of Labels that are unique by name.
- Mapping[str, Any]
(Updatable) The defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- description str
(Updatable) A user provided description of the dataset
- display_
name str (Updatable) A user-friendly display name for the resource.
- Mapping[str, Any]
(Updatable) 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"}
- initial_
record_ Datasetgeneration_ configuration Initial Record Generation Configuration Args Initial Generate Records configuration, generates records from the Dataset's source.
- labeling_
instructions str The labeling instructions for human labelers in rich text format
- annotation
Format String The annotation format name required for labeling records.
- compartment
Id String (Updatable) The OCID of the compartment of the resource.
- dataset
Format Property MapDetails Specifies how to process the data. Supported formats include IMAGE and TEXT.
- dataset
Source Property MapDetails This allows the customer to specify the source of the dataset.
- label
Set Property Map An ordered collection of Labels that are unique by name.
- Map<Any>
(Updatable) The defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- description String
(Updatable) A user provided description of the dataset
- display
Name String (Updatable) A user-friendly display name for the resource.
- Map<Any>
(Updatable) 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"}
- initial
Record Property MapGeneration Configuration Initial Generate Records configuration, generates records from the Dataset's source.
- labeling
Instructions String The labeling instructions for human labelers in rich text format
Outputs
All input properties are implicitly available as output properties. Additionally, the Dataset resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Lifecycle
Details 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.
- 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.
- Time
Created string The date and time the resource was created, in the timestamp format defined by RFC3339.
- Time
Updated string The date and time the resource was last updated, in the timestamp format defined by RFC3339.
- Id string
The provider-assigned unique ID for this managed resource.
- Lifecycle
Details 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.
- 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.
- Time
Created string The date and time the resource was created, in the timestamp format defined by RFC3339.
- Time
Updated string The date and time the resource was last updated, in the timestamp format defined by RFC3339.
- id String
The provider-assigned unique ID for this managed resource.
- lifecycle
Details 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.
- 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.
- time
Created String The date and time the resource was created, in the timestamp format defined by RFC3339.
- time
Updated String The date and time the resource was last updated, in the timestamp format defined by RFC3339.
- id string
The provider-assigned unique ID for this managed resource.
- lifecycle
Details 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.
- 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.
- time
Created string The date and time the resource was created, in the timestamp format defined by RFC3339.
- time
Updated string The date and time the resource was last updated, in the timestamp format defined by RFC3339.
- id str
The provider-assigned unique ID for this managed resource.
- 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.
- 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.
- 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.
- id String
The provider-assigned unique ID for this managed resource.
- lifecycle
Details 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.
- 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.
- time
Created String The date and time the resource was created, in the timestamp format defined by RFC3339.
- time
Updated String The date and time the resource was last updated, in the timestamp format defined by RFC3339.
Look up an Existing Dataset Resource
Get an existing Dataset resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DatasetState, opts?: CustomResourceOptions): Dataset
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
annotation_format: Optional[str] = None,
compartment_id: Optional[str] = None,
dataset_format_details: Optional[_datalabellingservice.DatasetDatasetFormatDetailsArgs] = None,
dataset_source_details: Optional[_datalabellingservice.DatasetDatasetSourceDetailsArgs] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
initial_record_generation_configuration: Optional[_datalabellingservice.DatasetInitialRecordGenerationConfigurationArgs] = None,
label_set: Optional[_datalabellingservice.DatasetLabelSetArgs] = None,
labeling_instructions: Optional[str] = None,
lifecycle_details: Optional[str] = None,
state: Optional[str] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> Dataset
func GetDataset(ctx *Context, name string, id IDInput, state *DatasetState, opts ...ResourceOption) (*Dataset, error)
public static Dataset Get(string name, Input<string> id, DatasetState? state, CustomResourceOptions? opts = null)
public static Dataset get(String name, Output<String> id, DatasetState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Annotation
Format string The annotation format name required for labeling records.
- Compartment
Id string (Updatable) The OCID of the compartment of the resource.
- Dataset
Format DatasetDetails Dataset Format Details Args Specifies how to process the data. Supported formats include IMAGE and TEXT.
- Dataset
Source DatasetDetails Dataset Source Details Args This allows the customer to specify the source of the dataset.
- Dictionary<string, object>
(Updatable) The defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- Description string
(Updatable) A user provided description of the dataset
- Display
Name string (Updatable) A user-friendly display name for the resource.
- Dictionary<string, object>
(Updatable) 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"}
- Initial
Record DatasetGeneration Configuration Initial Record Generation Configuration Args Initial Generate Records configuration, generates records from the Dataset's source.
- Label
Set DatasetLabel Set Args An ordered collection of Labels that are unique by name.
- Labeling
Instructions string The labeling instructions for human labelers in rich text format
- Lifecycle
Details 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.
- 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.
- Time
Created string The date and time the resource was created, in the timestamp format defined by RFC3339.
- Time
Updated string The date and time the resource was last updated, in the timestamp format defined by RFC3339.
- Annotation
Format string The annotation format name required for labeling records.
- Compartment
Id string (Updatable) The OCID of the compartment of the resource.
- Dataset
Format DatasetDetails Dataset Format Details Args Specifies how to process the data. Supported formats include IMAGE and TEXT.
- Dataset
Source DatasetDetails Dataset Source Details Args This allows the customer to specify the source of the dataset.
- map[string]interface{}
(Updatable) The defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- Description string
(Updatable) A user provided description of the dataset
- Display
Name string (Updatable) A user-friendly display name for the resource.
- map[string]interface{}
(Updatable) 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"}
- Initial
Record DatasetGeneration Configuration Initial Record Generation Configuration Args Initial Generate Records configuration, generates records from the Dataset's source.
- Label
Set DatasetLabel Set Args An ordered collection of Labels that are unique by name.
- Labeling
Instructions string The labeling instructions for human labelers in rich text format
- Lifecycle
Details 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.
- 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.
- Time
Created string The date and time the resource was created, in the timestamp format defined by RFC3339.
- Time
Updated string The date and time the resource was last updated, in the timestamp format defined by RFC3339.
- annotation
Format String The annotation format name required for labeling records.
- compartment
Id String (Updatable) The OCID of the compartment of the resource.
- dataset
Format DatasetDetails Dataset Format Details Args Specifies how to process the data. Supported formats include IMAGE and TEXT.
- dataset
Source DatasetDetails Dataset Source Details Args This allows the customer to specify the source of the dataset.
- Map<String,Object>
(Updatable) The defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- description String
(Updatable) A user provided description of the dataset
- display
Name String (Updatable) A user-friendly display name for the resource.
- Map<String,Object>
(Updatable) 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"}
- initial
Record DatasetGeneration Configuration Initial Record Generation Configuration Args Initial Generate Records configuration, generates records from the Dataset's source.
- label
Set DatasetLabel Set Args An ordered collection of Labels that are unique by name.
- labeling
Instructions String The labeling instructions for human labelers in rich text format
- lifecycle
Details 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.
- 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.
- time
Created String The date and time the resource was created, in the timestamp format defined by RFC3339.
- time
Updated String The date and time the resource was last updated, in the timestamp format defined by RFC3339.
- annotation
Format string The annotation format name required for labeling records.
- compartment
Id string (Updatable) The OCID of the compartment of the resource.
- dataset
Format DatasetDetails Dataset Format Details Args Specifies how to process the data. Supported formats include IMAGE and TEXT.
- dataset
Source DatasetDetails Dataset Source Details Args This allows the customer to specify the source of the dataset.
- {[key: string]: any}
(Updatable) The defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- description string
(Updatable) A user provided description of the dataset
- display
Name string (Updatable) A user-friendly display name for the resource.
- {[key: string]: any}
(Updatable) 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"}
- initial
Record DatasetGeneration Configuration Initial Record Generation Configuration Args Initial Generate Records configuration, generates records from the Dataset's source.
- label
Set DatasetLabel Set Args An ordered collection of Labels that are unique by name.
- labeling
Instructions string The labeling instructions for human labelers in rich text format
- lifecycle
Details 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.
- 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.
- time
Created string The date and time the resource was created, in the timestamp format defined by RFC3339.
- time
Updated string The date and time the resource was last updated, in the timestamp format defined by RFC3339.
- annotation_
format str The annotation format name required for labeling records.
- compartment_
id str (Updatable) The OCID of the compartment of the resource.
- dataset_
format_ Datasetdetails Dataset Format Details Args Specifies how to process the data. Supported formats include IMAGE and TEXT.
- dataset_
source_ Datasetdetails Dataset Source Details Args This allows the customer to specify the source of the dataset.
- Mapping[str, Any]
(Updatable) The defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- description str
(Updatable) A user provided description of the dataset
- display_
name str (Updatable) A user-friendly display name for the resource.
- Mapping[str, Any]
(Updatable) 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"}
- initial_
record_ Datasetgeneration_ configuration Initial Record Generation Configuration Args Initial Generate Records configuration, generates records from the Dataset's source.
- label_
set DatasetLabel Set Args 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.
- 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.
- 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.
- annotation
Format String The annotation format name required for labeling records.
- compartment
Id String (Updatable) The OCID of the compartment of the resource.
- dataset
Format Property MapDetails Specifies how to process the data. Supported formats include IMAGE and TEXT.
- dataset
Source Property MapDetails This allows the customer to specify the source of the dataset.
- Map<Any>
(Updatable) The defined tags for this resource. Each key is predefined and scoped to a namespace. For example:
{"foo-namespace": {"bar-key": "value"}}
- description String
(Updatable) A user provided description of the dataset
- display
Name String (Updatable) A user-friendly display name for the resource.
- Map<Any>
(Updatable) 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"}
- initial
Record Property MapGeneration Configuration Initial Generate Records configuration, generates records from the Dataset's source.
- label
Set Property Map An ordered collection of Labels that are unique by name.
- labeling
Instructions String The labeling instructions for human labelers in rich text format
- lifecycle
Details 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.
- 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.
- time
Created String The date and time the resource was created, in the timestamp format defined by RFC3339.
- time
Updated String The date and time the resource was last updated, in the timestamp format defined by RFC3339.
Supporting Types
DatasetDatasetFormatDetails
- Format
Type string Format type. DOCUMENT format is for record contents that are PDFs or TIFFs. IMAGE format is for record contents that are JPEGs or PNGs. TEXT format is for record contents that are txt files.
- Format
Type string Format type. DOCUMENT format is for record contents that are PDFs or TIFFs. IMAGE format is for record contents that are JPEGs or PNGs. TEXT format is for record contents that are txt files.
- format
Type String Format type. DOCUMENT format is for record contents that are PDFs or TIFFs. IMAGE format is for record contents that are JPEGs or PNGs. TEXT format is for record contents that are txt files.
- format
Type string Format type. DOCUMENT format is for record contents that are PDFs or TIFFs. IMAGE format is for record contents that are JPEGs or PNGs. TEXT format is for record contents that are txt files.
- format_
type str Format type. DOCUMENT format is for record contents that are PDFs or TIFFs. IMAGE format is for record contents that are JPEGs or PNGs. TEXT format is for record contents that are txt files.
- format
Type String Format type. DOCUMENT format is for record contents that are PDFs or TIFFs. IMAGE format is for record contents that are JPEGs or PNGs. TEXT format is for record contents that are txt files.
DatasetDatasetSourceDetails
- Bucket string
The object storage bucket that contains the dataset data source
- Namespace string
Namespace of the bucket that contains the dataset data source
- Source
Type string Source type. OBJECT_STORAGE allows the customer to describe where the dataset is in object storage.
- Prefix string
A common path prefix shared by the objects that make up the dataset. Records will not be generated for objects whose name match exactly with prefix.
- Bucket string
The object storage bucket that contains the dataset data source
- Namespace string
Namespace of the bucket that contains the dataset data source
- Source
Type string Source type. OBJECT_STORAGE allows the customer to describe where the dataset is in object storage.
- Prefix string
A common path prefix shared by the objects that make up the dataset. Records will not be generated for objects whose name match exactly with prefix.
- bucket String
The object storage bucket that contains the dataset data source
- namespace String
Namespace of the bucket that contains the dataset data source
- source
Type String Source type. OBJECT_STORAGE allows the customer to describe where the dataset is in object storage.
- prefix String
A common path prefix shared by the objects that make up the dataset. Records will not be generated for objects whose name match exactly with prefix.
- bucket string
The object storage bucket that contains the dataset data source
- namespace string
Namespace of the bucket that contains the dataset data source
- source
Type string Source type. OBJECT_STORAGE allows the customer to describe where the dataset is in object storage.
- prefix string
A common path prefix shared by the objects that make up the dataset. Records will not be generated for objects whose name match exactly with prefix.
- bucket str
The object storage bucket that contains the dataset data source
- namespace str
Namespace of the bucket that contains the dataset data source
- source_
type str Source type. OBJECT_STORAGE allows the customer to describe where the dataset is in object storage.
- prefix str
A common path prefix shared by the objects that make up the dataset. Records will not be generated for objects whose name match exactly with prefix.
- bucket String
The object storage bucket that contains the dataset data source
- namespace String
Namespace of the bucket that contains the dataset data source
- source
Type String Source type. OBJECT_STORAGE allows the customer to describe where the dataset is in object storage.
- prefix String
A common path prefix shared by the objects that make up the dataset. Records will not be generated for objects whose name match exactly with prefix.
DatasetLabelSet
- Items
List<Dataset
Label Set Item> An ordered collection of Labels that are unique by name.
- Items
[]Dataset
Label Set Item An ordered collection of Labels that are unique by name.
- items
List<Dataset
Label Set Item> An ordered collection of Labels that are unique by name.
- items
Dataset
Label Set Item[] An ordered collection of Labels that are unique by name.
- items
Dataset
Label Set Item] An ordered collection of Labels that are unique by name.
- items List<Property Map>
An ordered collection of Labels that are unique by name.
DatasetLabelSetItem
- 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.
Import
Datasets can be imported using the id
, e.g.
$ pulumi import oci:DataLabellingService/dataset:Dataset test_dataset "id"
Package Details
- Repository
- https://github.com/pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.