Create GenaiIndexingJobCancel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GenaiIndexingJobCancel(name: string, args: GenaiIndexingJobCancelArgs, opts?: CustomResourceOptions);@overload
def GenaiIndexingJobCancel(resource_name: str,
args: GenaiIndexingJobCancelArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GenaiIndexingJobCancel(resource_name: str,
opts: Optional[ResourceOptions] = None,
uuid: Optional[str] = None)func NewGenaiIndexingJobCancel(ctx *Context, name string, args GenaiIndexingJobCancelArgs, opts ...ResourceOption) (*GenaiIndexingJobCancel, error)public GenaiIndexingJobCancel(string name, GenaiIndexingJobCancelArgs args, CustomResourceOptions? opts = null)
public GenaiIndexingJobCancel(String name, GenaiIndexingJobCancelArgs args)
public GenaiIndexingJobCancel(String name, GenaiIndexingJobCancelArgs args, CustomResourceOptions options)
type: digitalocean:GenaiIndexingJobCancel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GenaiIndexingJobCancelArgs
- 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 GenaiIndexingJobCancelArgs
- 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 GenaiIndexingJobCancelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GenaiIndexingJobCancelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GenaiIndexingJobCancelArgs
- 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 genaiIndexingJobCancelResource = new DigitalOcean.GenaiIndexingJobCancel("genaiIndexingJobCancelResource", new()
{
Uuid = "string",
});
example, err := digitalocean.NewGenaiIndexingJobCancel(ctx, "genaiIndexingJobCancelResource", &digitalocean.GenaiIndexingJobCancelArgs{
Uuid: pulumi.String("string"),
})
var genaiIndexingJobCancelResource = new GenaiIndexingJobCancel("genaiIndexingJobCancelResource", GenaiIndexingJobCancelArgs.builder()
.uuid("string")
.build());
genai_indexing_job_cancel_resource = digitalocean.GenaiIndexingJobCancel("genaiIndexingJobCancelResource", uuid="string")
const genaiIndexingJobCancelResource = new digitalocean.GenaiIndexingJobCancel("genaiIndexingJobCancelResource", {uuid: "string"});
type: digitalocean:GenaiIndexingJobCancel
properties:
uuid: string
GenaiIndexingJobCancel 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 GenaiIndexingJobCancel resource accepts the following input properties:
- Uuid string
- The UUID of the indexing job to cancel.
- Uuid string
- The UUID of the indexing job to cancel.
- uuid String
- The UUID of the indexing job to cancel.
- uuid string
- The UUID of the indexing job to cancel.
- uuid str
- The UUID of the indexing job to cancel.
- uuid String
- The UUID of the indexing job to cancel.
Outputs
All input properties are implicitly available as output properties. Additionally, the GenaiIndexingJobCancel resource produces the following output properties:
- Completed
Datasources int - Number of data sources that were completed before cancellation.
- Created
At string - When the indexing job was created.
- Data
Source List<string>Uuids - List of data source UUIDs associated with this indexing job.
- Finished
At string - When the indexing job was finished.
- Id string
- The provider-assigned unique ID for this managed resource.
- Knowledge
Base stringUuid - The UUID of the knowledge base associated with this indexing job.
- Phase string
- Current phase of the indexing job.
- Started
At string - When the indexing job was started.
- Status string
- The status of the indexing job after cancellation.
- Tokens int
- Number of tokens processed before cancellation.
- Total
Datasources int - Total number of data sources in the indexing job.
- Total
Items intFailed - Total number of items that failed during indexing.
- Total
Items intIndexed - Total number of items that were successfully indexed.
- Total
Items intSkipped - Total number of items that were skipped during indexing.
- Updated
At string - When the indexing job was last updated.
- Completed
Datasources int - Number of data sources that were completed before cancellation.
- Created
At string - When the indexing job was created.
- Data
Source []stringUuids - List of data source UUIDs associated with this indexing job.
- Finished
At string - When the indexing job was finished.
- Id string
- The provider-assigned unique ID for this managed resource.
- Knowledge
Base stringUuid - The UUID of the knowledge base associated with this indexing job.
- Phase string
- Current phase of the indexing job.
- Started
At string - When the indexing job was started.
- Status string
- The status of the indexing job after cancellation.
- Tokens int
- Number of tokens processed before cancellation.
- Total
Datasources int - Total number of data sources in the indexing job.
- Total
Items intFailed - Total number of items that failed during indexing.
- Total
Items intIndexed - Total number of items that were successfully indexed.
- Total
Items intSkipped - Total number of items that were skipped during indexing.
- Updated
At string - When the indexing job was last updated.
- completed
Datasources Integer - Number of data sources that were completed before cancellation.
- created
At String - When the indexing job was created.
- data
Source List<String>Uuids - List of data source UUIDs associated with this indexing job.
- finished
At String - When the indexing job was finished.
- id String
- The provider-assigned unique ID for this managed resource.
- knowledge
Base StringUuid - The UUID of the knowledge base associated with this indexing job.
- phase String
- Current phase of the indexing job.
- started
At String - When the indexing job was started.
- status String
- The status of the indexing job after cancellation.
- tokens Integer
- Number of tokens processed before cancellation.
- total
Datasources Integer - Total number of data sources in the indexing job.
- total
Items IntegerFailed - Total number of items that failed during indexing.
- total
Items IntegerIndexed - Total number of items that were successfully indexed.
- total
Items IntegerSkipped - Total number of items that were skipped during indexing.
- updated
At String - When the indexing job was last updated.
- completed
Datasources number - Number of data sources that were completed before cancellation.
- created
At string - When the indexing job was created.
- data
Source string[]Uuids - List of data source UUIDs associated with this indexing job.
- finished
At string - When the indexing job was finished.
- id string
- The provider-assigned unique ID for this managed resource.
- knowledge
Base stringUuid - The UUID of the knowledge base associated with this indexing job.
- phase string
- Current phase of the indexing job.
- started
At string - When the indexing job was started.
- status string
- The status of the indexing job after cancellation.
- tokens number
- Number of tokens processed before cancellation.
- total
Datasources number - Total number of data sources in the indexing job.
- total
Items numberFailed - Total number of items that failed during indexing.
- total
Items numberIndexed - Total number of items that were successfully indexed.
- total
Items numberSkipped - Total number of items that were skipped during indexing.
- updated
At string - When the indexing job was last updated.
- completed_
datasources int - Number of data sources that were completed before cancellation.
- created_
at str - When the indexing job was created.
- data_
source_ Sequence[str]uuids - List of data source UUIDs associated with this indexing job.
- finished_
at str - When the indexing job was finished.
- id str
- The provider-assigned unique ID for this managed resource.
- knowledge_
base_ struuid - The UUID of the knowledge base associated with this indexing job.
- phase str
- Current phase of the indexing job.
- started_
at str - When the indexing job was started.
- status str
- The status of the indexing job after cancellation.
- tokens int
- Number of tokens processed before cancellation.
- total_
datasources int - Total number of data sources in the indexing job.
- total_
items_ intfailed - Total number of items that failed during indexing.
- total_
items_ intindexed - Total number of items that were successfully indexed.
- total_
items_ intskipped - Total number of items that were skipped during indexing.
- updated_
at str - When the indexing job was last updated.
- completed
Datasources Number - Number of data sources that were completed before cancellation.
- created
At String - When the indexing job was created.
- data
Source List<String>Uuids - List of data source UUIDs associated with this indexing job.
- finished
At String - When the indexing job was finished.
- id String
- The provider-assigned unique ID for this managed resource.
- knowledge
Base StringUuid - The UUID of the knowledge base associated with this indexing job.
- phase String
- Current phase of the indexing job.
- started
At String - When the indexing job was started.
- status String
- The status of the indexing job after cancellation.
- tokens Number
- Number of tokens processed before cancellation.
- total
Datasources Number - Total number of data sources in the indexing job.
- total
Items NumberFailed - Total number of items that failed during indexing.
- total
Items NumberIndexed - Total number of items that were successfully indexed.
- total
Items NumberSkipped - Total number of items that were skipped during indexing.
- updated
At String - When the indexing job was last updated.
Look up Existing GenaiIndexingJobCancel Resource
Get an existing GenaiIndexingJobCancel 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?: GenaiIndexingJobCancelState, opts?: CustomResourceOptions): GenaiIndexingJobCancel@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
completed_datasources: Optional[int] = None,
created_at: Optional[str] = None,
data_source_uuids: Optional[Sequence[str]] = None,
finished_at: Optional[str] = None,
knowledge_base_uuid: Optional[str] = None,
phase: Optional[str] = None,
started_at: Optional[str] = None,
status: Optional[str] = None,
tokens: Optional[int] = None,
total_datasources: Optional[int] = None,
total_items_failed: Optional[int] = None,
total_items_indexed: Optional[int] = None,
total_items_skipped: Optional[int] = None,
updated_at: Optional[str] = None,
uuid: Optional[str] = None) -> GenaiIndexingJobCancelfunc GetGenaiIndexingJobCancel(ctx *Context, name string, id IDInput, state *GenaiIndexingJobCancelState, opts ...ResourceOption) (*GenaiIndexingJobCancel, error)public static GenaiIndexingJobCancel Get(string name, Input<string> id, GenaiIndexingJobCancelState? state, CustomResourceOptions? opts = null)public static GenaiIndexingJobCancel get(String name, Output<String> id, GenaiIndexingJobCancelState state, CustomResourceOptions options)resources: _: type: digitalocean:GenaiIndexingJobCancel get: id: ${id}- 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.
- Completed
Datasources int - Number of data sources that were completed before cancellation.
- Created
At string - When the indexing job was created.
- Data
Source List<string>Uuids - List of data source UUIDs associated with this indexing job.
- Finished
At string - When the indexing job was finished.
- Knowledge
Base stringUuid - The UUID of the knowledge base associated with this indexing job.
- Phase string
- Current phase of the indexing job.
- Started
At string - When the indexing job was started.
- Status string
- The status of the indexing job after cancellation.
- Tokens int
- Number of tokens processed before cancellation.
- Total
Datasources int - Total number of data sources in the indexing job.
- Total
Items intFailed - Total number of items that failed during indexing.
- Total
Items intIndexed - Total number of items that were successfully indexed.
- Total
Items intSkipped - Total number of items that were skipped during indexing.
- Updated
At string - When the indexing job was last updated.
- Uuid string
- The UUID of the indexing job to cancel.
- Completed
Datasources int - Number of data sources that were completed before cancellation.
- Created
At string - When the indexing job was created.
- Data
Source []stringUuids - List of data source UUIDs associated with this indexing job.
- Finished
At string - When the indexing job was finished.
- Knowledge
Base stringUuid - The UUID of the knowledge base associated with this indexing job.
- Phase string
- Current phase of the indexing job.
- Started
At string - When the indexing job was started.
- Status string
- The status of the indexing job after cancellation.
- Tokens int
- Number of tokens processed before cancellation.
- Total
Datasources int - Total number of data sources in the indexing job.
- Total
Items intFailed - Total number of items that failed during indexing.
- Total
Items intIndexed - Total number of items that were successfully indexed.
- Total
Items intSkipped - Total number of items that were skipped during indexing.
- Updated
At string - When the indexing job was last updated.
- Uuid string
- The UUID of the indexing job to cancel.
- completed
Datasources Integer - Number of data sources that were completed before cancellation.
- created
At String - When the indexing job was created.
- data
Source List<String>Uuids - List of data source UUIDs associated with this indexing job.
- finished
At String - When the indexing job was finished.
- knowledge
Base StringUuid - The UUID of the knowledge base associated with this indexing job.
- phase String
- Current phase of the indexing job.
- started
At String - When the indexing job was started.
- status String
- The status of the indexing job after cancellation.
- tokens Integer
- Number of tokens processed before cancellation.
- total
Datasources Integer - Total number of data sources in the indexing job.
- total
Items IntegerFailed - Total number of items that failed during indexing.
- total
Items IntegerIndexed - Total number of items that were successfully indexed.
- total
Items IntegerSkipped - Total number of items that were skipped during indexing.
- updated
At String - When the indexing job was last updated.
- uuid String
- The UUID of the indexing job to cancel.
- completed
Datasources number - Number of data sources that were completed before cancellation.
- created
At string - When the indexing job was created.
- data
Source string[]Uuids - List of data source UUIDs associated with this indexing job.
- finished
At string - When the indexing job was finished.
- knowledge
Base stringUuid - The UUID of the knowledge base associated with this indexing job.
- phase string
- Current phase of the indexing job.
- started
At string - When the indexing job was started.
- status string
- The status of the indexing job after cancellation.
- tokens number
- Number of tokens processed before cancellation.
- total
Datasources number - Total number of data sources in the indexing job.
- total
Items numberFailed - Total number of items that failed during indexing.
- total
Items numberIndexed - Total number of items that were successfully indexed.
- total
Items numberSkipped - Total number of items that were skipped during indexing.
- updated
At string - When the indexing job was last updated.
- uuid string
- The UUID of the indexing job to cancel.
- completed_
datasources int - Number of data sources that were completed before cancellation.
- created_
at str - When the indexing job was created.
- data_
source_ Sequence[str]uuids - List of data source UUIDs associated with this indexing job.
- finished_
at str - When the indexing job was finished.
- knowledge_
base_ struuid - The UUID of the knowledge base associated with this indexing job.
- phase str
- Current phase of the indexing job.
- started_
at str - When the indexing job was started.
- status str
- The status of the indexing job after cancellation.
- tokens int
- Number of tokens processed before cancellation.
- total_
datasources int - Total number of data sources in the indexing job.
- total_
items_ intfailed - Total number of items that failed during indexing.
- total_
items_ intindexed - Total number of items that were successfully indexed.
- total_
items_ intskipped - Total number of items that were skipped during indexing.
- updated_
at str - When the indexing job was last updated.
- uuid str
- The UUID of the indexing job to cancel.
- completed
Datasources Number - Number of data sources that were completed before cancellation.
- created
At String - When the indexing job was created.
- data
Source List<String>Uuids - List of data source UUIDs associated with this indexing job.
- finished
At String - When the indexing job was finished.
- knowledge
Base StringUuid - The UUID of the knowledge base associated with this indexing job.
- phase String
- Current phase of the indexing job.
- started
At String - When the indexing job was started.
- status String
- The status of the indexing job after cancellation.
- tokens Number
- Number of tokens processed before cancellation.
- total
Datasources Number - Total number of data sources in the indexing job.
- total
Items NumberFailed - Total number of items that failed during indexing.
- total
Items NumberIndexed - Total number of items that were successfully indexed.
- total
Items NumberSkipped - Total number of items that were skipped during indexing.
- updated
At String - When the indexing job was last updated.
- uuid String
- The UUID of the indexing job to cancel.
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitaloceanTerraform Provider.
