1. Packages
  2. DigitalOcean Provider
  3. API Docs
  4. GenaiIndexingJobCancel
DigitalOcean v4.55.0 published on Friday, Nov 14, 2025 by Pulumi
digitalocean logo
DigitalOcean v4.55.0 published on Friday, Nov 14, 2025 by Pulumi

    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:

    CompletedDatasources int
    Number of data sources that were completed before cancellation.
    CreatedAt string
    When the indexing job was created.
    DataSourceUuids List<string>
    List of data source UUIDs associated with this indexing job.
    FinishedAt string
    When the indexing job was finished.
    Id string
    The provider-assigned unique ID for this managed resource.
    KnowledgeBaseUuid string
    The UUID of the knowledge base associated with this indexing job.
    Phase string
    Current phase of the indexing job.
    StartedAt 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.
    TotalDatasources int
    Total number of data sources in the indexing job.
    TotalItemsFailed int
    Total number of items that failed during indexing.
    TotalItemsIndexed int
    Total number of items that were successfully indexed.
    TotalItemsSkipped int
    Total number of items that were skipped during indexing.
    UpdatedAt string
    When the indexing job was last updated.
    CompletedDatasources int
    Number of data sources that were completed before cancellation.
    CreatedAt string
    When the indexing job was created.
    DataSourceUuids []string
    List of data source UUIDs associated with this indexing job.
    FinishedAt string
    When the indexing job was finished.
    Id string
    The provider-assigned unique ID for this managed resource.
    KnowledgeBaseUuid string
    The UUID of the knowledge base associated with this indexing job.
    Phase string
    Current phase of the indexing job.
    StartedAt 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.
    TotalDatasources int
    Total number of data sources in the indexing job.
    TotalItemsFailed int
    Total number of items that failed during indexing.
    TotalItemsIndexed int
    Total number of items that were successfully indexed.
    TotalItemsSkipped int
    Total number of items that were skipped during indexing.
    UpdatedAt string
    When the indexing job was last updated.
    completedDatasources Integer
    Number of data sources that were completed before cancellation.
    createdAt String
    When the indexing job was created.
    dataSourceUuids List<String>
    List of data source UUIDs associated with this indexing job.
    finishedAt String
    When the indexing job was finished.
    id String
    The provider-assigned unique ID for this managed resource.
    knowledgeBaseUuid String
    The UUID of the knowledge base associated with this indexing job.
    phase String
    Current phase of the indexing job.
    startedAt 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.
    totalDatasources Integer
    Total number of data sources in the indexing job.
    totalItemsFailed Integer
    Total number of items that failed during indexing.
    totalItemsIndexed Integer
    Total number of items that were successfully indexed.
    totalItemsSkipped Integer
    Total number of items that were skipped during indexing.
    updatedAt String
    When the indexing job was last updated.
    completedDatasources number
    Number of data sources that were completed before cancellation.
    createdAt string
    When the indexing job was created.
    dataSourceUuids string[]
    List of data source UUIDs associated with this indexing job.
    finishedAt string
    When the indexing job was finished.
    id string
    The provider-assigned unique ID for this managed resource.
    knowledgeBaseUuid string
    The UUID of the knowledge base associated with this indexing job.
    phase string
    Current phase of the indexing job.
    startedAt 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.
    totalDatasources number
    Total number of data sources in the indexing job.
    totalItemsFailed number
    Total number of items that failed during indexing.
    totalItemsIndexed number
    Total number of items that were successfully indexed.
    totalItemsSkipped number
    Total number of items that were skipped during indexing.
    updatedAt 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_uuids Sequence[str]
    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_uuid str
    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_failed int
    Total number of items that failed during indexing.
    total_items_indexed int
    Total number of items that were successfully indexed.
    total_items_skipped int
    Total number of items that were skipped during indexing.
    updated_at str
    When the indexing job was last updated.
    completedDatasources Number
    Number of data sources that were completed before cancellation.
    createdAt String
    When the indexing job was created.
    dataSourceUuids List<String>
    List of data source UUIDs associated with this indexing job.
    finishedAt String
    When the indexing job was finished.
    id String
    The provider-assigned unique ID for this managed resource.
    knowledgeBaseUuid String
    The UUID of the knowledge base associated with this indexing job.
    phase String
    Current phase of the indexing job.
    startedAt 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.
    totalDatasources Number
    Total number of data sources in the indexing job.
    totalItemsFailed Number
    Total number of items that failed during indexing.
    totalItemsIndexed Number
    Total number of items that were successfully indexed.
    totalItemsSkipped Number
    Total number of items that were skipped during indexing.
    updatedAt 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) -> GenaiIndexingJobCancel
    func 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.
    The following state arguments are supported:
    CompletedDatasources int
    Number of data sources that were completed before cancellation.
    CreatedAt string
    When the indexing job was created.
    DataSourceUuids List<string>
    List of data source UUIDs associated with this indexing job.
    FinishedAt string
    When the indexing job was finished.
    KnowledgeBaseUuid string
    The UUID of the knowledge base associated with this indexing job.
    Phase string
    Current phase of the indexing job.
    StartedAt 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.
    TotalDatasources int
    Total number of data sources in the indexing job.
    TotalItemsFailed int
    Total number of items that failed during indexing.
    TotalItemsIndexed int
    Total number of items that were successfully indexed.
    TotalItemsSkipped int
    Total number of items that were skipped during indexing.
    UpdatedAt string
    When the indexing job was last updated.
    Uuid string
    The UUID of the indexing job to cancel.
    CompletedDatasources int
    Number of data sources that were completed before cancellation.
    CreatedAt string
    When the indexing job was created.
    DataSourceUuids []string
    List of data source UUIDs associated with this indexing job.
    FinishedAt string
    When the indexing job was finished.
    KnowledgeBaseUuid string
    The UUID of the knowledge base associated with this indexing job.
    Phase string
    Current phase of the indexing job.
    StartedAt 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.
    TotalDatasources int
    Total number of data sources in the indexing job.
    TotalItemsFailed int
    Total number of items that failed during indexing.
    TotalItemsIndexed int
    Total number of items that were successfully indexed.
    TotalItemsSkipped int
    Total number of items that were skipped during indexing.
    UpdatedAt string
    When the indexing job was last updated.
    Uuid string
    The UUID of the indexing job to cancel.
    completedDatasources Integer
    Number of data sources that were completed before cancellation.
    createdAt String
    When the indexing job was created.
    dataSourceUuids List<String>
    List of data source UUIDs associated with this indexing job.
    finishedAt String
    When the indexing job was finished.
    knowledgeBaseUuid String
    The UUID of the knowledge base associated with this indexing job.
    phase String
    Current phase of the indexing job.
    startedAt 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.
    totalDatasources Integer
    Total number of data sources in the indexing job.
    totalItemsFailed Integer
    Total number of items that failed during indexing.
    totalItemsIndexed Integer
    Total number of items that were successfully indexed.
    totalItemsSkipped Integer
    Total number of items that were skipped during indexing.
    updatedAt String
    When the indexing job was last updated.
    uuid String
    The UUID of the indexing job to cancel.
    completedDatasources number
    Number of data sources that were completed before cancellation.
    createdAt string
    When the indexing job was created.
    dataSourceUuids string[]
    List of data source UUIDs associated with this indexing job.
    finishedAt string
    When the indexing job was finished.
    knowledgeBaseUuid string
    The UUID of the knowledge base associated with this indexing job.
    phase string
    Current phase of the indexing job.
    startedAt 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.
    totalDatasources number
    Total number of data sources in the indexing job.
    totalItemsFailed number
    Total number of items that failed during indexing.
    totalItemsIndexed number
    Total number of items that were successfully indexed.
    totalItemsSkipped number
    Total number of items that were skipped during indexing.
    updatedAt 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_uuids Sequence[str]
    List of data source UUIDs associated with this indexing job.
    finished_at str
    When the indexing job was finished.
    knowledge_base_uuid str
    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_failed int
    Total number of items that failed during indexing.
    total_items_indexed int
    Total number of items that were successfully indexed.
    total_items_skipped int
    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.
    completedDatasources Number
    Number of data sources that were completed before cancellation.
    createdAt String
    When the indexing job was created.
    dataSourceUuids List<String>
    List of data source UUIDs associated with this indexing job.
    finishedAt String
    When the indexing job was finished.
    knowledgeBaseUuid String
    The UUID of the knowledge base associated with this indexing job.
    phase String
    Current phase of the indexing job.
    startedAt 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.
    totalDatasources Number
    Total number of data sources in the indexing job.
    totalItemsFailed Number
    Total number of items that failed during indexing.
    totalItemsIndexed Number
    Total number of items that were successfully indexed.
    totalItemsSkipped Number
    Total number of items that were skipped during indexing.
    updatedAt 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 digitalocean Terraform Provider.
    digitalocean logo
    DigitalOcean v4.55.0 published on Friday, Nov 14, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate