1. Packages
  2. Avi Provider
  3. API Docs
  4. getTaskjournal
avi 31.1.1 published on Monday, Apr 14, 2025 by vmware

avi.getTaskjournal

Explore with Pulumi AI

avi logo
avi 31.1.1 published on Monday, Apr 14, 2025 by vmware

    <!–

    Copyright 2021 VMware, Inc.
    SPDX-License-Identifier: Mozilla Public License 2.0
    

    –>

    layout: “avi”

    page_title: “AVI: avi.Taskjournal” sidebar_current: “docs-avi-datasource-taskjournal” description: |- Get information of Avi TaskJournal.

    avi.Taskjournal

    This data source is used to to get avi.Taskjournal objects.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as avi from "@pulumi/avi";
    
    const fooTaskjournal = avi.getTaskjournal({
        name: "foo",
        uuid: "taskjournal-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
    });
    
    import pulumi
    import pulumi_avi as avi
    
    foo_taskjournal = avi.get_taskjournal(name="foo",
        uuid="taskjournal-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/avi/v31/avi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := avi.LookupTaskjournal(ctx, &avi.LookupTaskjournalArgs{
    			Name: pulumi.StringRef("foo"),
    			Uuid: pulumi.StringRef("taskjournal-f9cf6b3e-a411-436f-95e2-2982ba2b217b"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Avi = Pulumi.Avi;
    
    return await Deployment.RunAsync(() => 
    {
        var fooTaskjournal = Avi.GetTaskjournal.Invoke(new()
        {
            Name = "foo",
            Uuid = "taskjournal-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.avi.AviFunctions;
    import com.pulumi.avi.inputs.GetTaskjournalArgs;
    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 fooTaskjournal = AviFunctions.getTaskjournal(GetTaskjournalArgs.builder()
                .name("foo")
                .uuid("taskjournal-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
                .build());
    
        }
    }
    
    variables:
      fooTaskjournal:
        fn::invoke:
          function: avi:getTaskjournal
          arguments:
            name: foo
            uuid: taskjournal-f9cf6b3e-a411-436f-95e2-2982ba2b217b
    

    Using getTaskjournal

    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 getTaskjournal(args: GetTaskjournalArgs, opts?: InvokeOptions): Promise<GetTaskjournalResult>
    function getTaskjournalOutput(args: GetTaskjournalOutputArgs, opts?: InvokeOptions): Output<GetTaskjournalResult>
    def get_taskjournal(id: Optional[str] = None,
                        name: Optional[str] = None,
                        tenant_ref: Optional[str] = None,
                        uuid: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetTaskjournalResult
    def get_taskjournal_output(id: Optional[pulumi.Input[str]] = None,
                        name: Optional[pulumi.Input[str]] = None,
                        tenant_ref: Optional[pulumi.Input[str]] = None,
                        uuid: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetTaskjournalResult]
    func LookupTaskjournal(ctx *Context, args *LookupTaskjournalArgs, opts ...InvokeOption) (*LookupTaskjournalResult, error)
    func LookupTaskjournalOutput(ctx *Context, args *LookupTaskjournalOutputArgs, opts ...InvokeOption) LookupTaskjournalResultOutput

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

    public static class GetTaskjournal 
    {
        public static Task<GetTaskjournalResult> InvokeAsync(GetTaskjournalArgs args, InvokeOptions? opts = null)
        public static Output<GetTaskjournalResult> Invoke(GetTaskjournalInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTaskjournalResult> getTaskjournal(GetTaskjournalArgs args, InvokeOptions options)
    public static Output<GetTaskjournalResult> getTaskjournal(GetTaskjournalArgs args, InvokeOptions options)
    
    fn::invoke:
      function: avi:index/getTaskjournal:getTaskjournal
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Name string
    Search TaskJournal by name.
    TenantRef string
    Tenant uuid associated with the object. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Search TaskJournal by uuid.
    Id string
    Name string
    Search TaskJournal by name.
    TenantRef string
    Tenant uuid associated with the object. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Search TaskJournal by uuid.
    id String
    name String
    Search TaskJournal by name.
    tenantRef String
    Tenant uuid associated with the object. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Search TaskJournal by uuid.
    id string
    name string
    Search TaskJournal by name.
    tenantRef string
    Tenant uuid associated with the object. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid string
    Search TaskJournal by uuid.
    id str
    name str
    Search TaskJournal by name.
    tenant_ref str
    Tenant uuid associated with the object. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid str
    Search TaskJournal by uuid.
    id String
    name String
    Search TaskJournal by name.
    tenantRef String
    Tenant uuid associated with the object. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Search TaskJournal by uuid.

    getTaskjournal Result

    The following output properties are available:

    Errors List<GetTaskjournalError>
    List of errors in the process. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Id string
    ImageRef string
    Image uuid for identifying the current base image. It is a reference to an object of type image. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Infos List<GetTaskjournalInfo>
    Detailed information of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Name string
    Name for the task journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ObjCloudRef string
    Cloud that this object belongs to. It is a reference to an object of type cloud. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Operation string
    Operation for which the task journal created. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    PatchImageRef string
    Image uuid for identifying the current patch. It is a reference to an object of type image. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Summaries List<GetTaskjournalSummary>
    Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Tasks List<GetTaskjournalTask>
    List of all the tasks executed with details. For example, details of tasks to be executed for upgrade filecopy. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantRef string
    Tenant uuid associated with the object. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Uuid identifier for the task journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Errors []GetTaskjournalError
    List of errors in the process. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Id string
    ImageRef string
    Image uuid for identifying the current base image. It is a reference to an object of type image. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Infos []GetTaskjournalInfo
    Detailed information of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Name string
    Name for the task journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ObjCloudRef string
    Cloud that this object belongs to. It is a reference to an object of type cloud. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Operation string
    Operation for which the task journal created. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    PatchImageRef string
    Image uuid for identifying the current patch. It is a reference to an object of type image. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Summaries []GetTaskjournalSummary
    Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Tasks []GetTaskjournalTask
    List of all the tasks executed with details. For example, details of tasks to be executed for upgrade filecopy. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantRef string
    Tenant uuid associated with the object. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Uuid identifier for the task journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    errors List<GetTaskjournalError>
    List of errors in the process. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id String
    imageRef String
    Image uuid for identifying the current base image. It is a reference to an object of type image. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    infos List<GetTaskjournalInfo>
    Detailed information of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name String
    Name for the task journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    objCloudRef String
    Cloud that this object belongs to. It is a reference to an object of type cloud. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    operation String
    Operation for which the task journal created. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    patchImageRef String
    Image uuid for identifying the current patch. It is a reference to an object of type image. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    summaries List<GetTaskjournalSummary>
    Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tasks List<GetTaskjournalTask>
    List of all the tasks executed with details. For example, details of tasks to be executed for upgrade filecopy. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef String
    Tenant uuid associated with the object. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Uuid identifier for the task journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    errors GetTaskjournalError[]
    List of errors in the process. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id string
    imageRef string
    Image uuid for identifying the current base image. It is a reference to an object of type image. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    infos GetTaskjournalInfo[]
    Detailed information of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name string
    Name for the task journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    objCloudRef string
    Cloud that this object belongs to. It is a reference to an object of type cloud. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    operation string
    Operation for which the task journal created. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    patchImageRef string
    Image uuid for identifying the current patch. It is a reference to an object of type image. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    summaries GetTaskjournalSummary[]
    Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tasks GetTaskjournalTask[]
    List of all the tasks executed with details. For example, details of tasks to be executed for upgrade filecopy. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef string
    Tenant uuid associated with the object. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid string
    Uuid identifier for the task journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    errors Sequence[GetTaskjournalError]
    List of errors in the process. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id str
    image_ref str
    Image uuid for identifying the current base image. It is a reference to an object of type image. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    infos Sequence[GetTaskjournalInfo]
    Detailed information of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name str
    Name for the task journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    obj_cloud_ref str
    Cloud that this object belongs to. It is a reference to an object of type cloud. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    operation str
    Operation for which the task journal created. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    patch_image_ref str
    Image uuid for identifying the current patch. It is a reference to an object of type image. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    summaries Sequence[GetTaskjournalSummary]
    Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tasks Sequence[GetTaskjournalTask]
    List of all the tasks executed with details. For example, details of tasks to be executed for upgrade filecopy. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenant_ref str
    Tenant uuid associated with the object. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid str
    Uuid identifier for the task journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    errors List<Property Map>
    List of errors in the process. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id String
    imageRef String
    Image uuid for identifying the current base image. It is a reference to an object of type image. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    infos List<Property Map>
    Detailed information of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    name String
    Name for the task journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    objCloudRef String
    Cloud that this object belongs to. It is a reference to an object of type cloud. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    operation String
    Operation for which the task journal created. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    patchImageRef String
    Image uuid for identifying the current patch. It is a reference to an object of type image. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    summaries List<Property Map>
    Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tasks List<Property Map>
    List of all the tasks executed with details. For example, details of tasks to be executed for upgrade filecopy. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef String
    Tenant uuid associated with the object. It is a reference to an object of type tenant. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Uuid identifier for the task journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.

    Supporting Types

    GetTaskjournalError

    Details List<string>
    Name string
    Search TaskJournal by name.
    Object string
    Tenant string
    Uuid string
    Search TaskJournal by uuid.
    Version string
    Details []string
    Name string
    Search TaskJournal by name.
    Object string
    Tenant string
    Uuid string
    Search TaskJournal by uuid.
    Version string
    details List<String>
    name String
    Search TaskJournal by name.
    object String
    tenant String
    uuid String
    Search TaskJournal by uuid.
    version String
    details string[]
    name string
    Search TaskJournal by name.
    object string
    tenant string
    uuid string
    Search TaskJournal by uuid.
    version string
    details Sequence[str]
    name str
    Search TaskJournal by name.
    object str
    tenant str
    uuid str
    Search TaskJournal by uuid.
    version str
    details List<String>
    name String
    Search TaskJournal by name.
    object String
    tenant String
    uuid String
    Search TaskJournal by uuid.
    version String

    GetTaskjournalInfo

    GetTaskjournalInfoAction

    GetTaskjournalInfoActionObject

    Failed string
    Model string
    Skipped string
    Success string
    Failed string
    Model string
    Skipped string
    Success string
    failed String
    model String
    skipped String
    success String
    failed string
    model string
    skipped string
    success string
    failed String
    model String
    skipped String
    success String

    GetTaskjournalSummary

    Description string
    Duration string
    EndTime string
    ErrorCount string
    Reason string
    StartTime string
    Status string
    Type string
    Description string
    Duration string
    EndTime string
    ErrorCount string
    Reason string
    StartTime string
    Status string
    Type string
    description String
    duration String
    endTime String
    errorCount String
    reason String
    startTime String
    status String
    type String
    description string
    duration string
    endTime string
    errorCount string
    reason string
    startTime string
    status string
    type string
    description String
    duration String
    endTime String
    errorCount String
    reason String
    startTime String
    status String
    type String

    GetTaskjournalTask

    Duration string
    EndTime string
    Messages List<string>
    Reason string
    StartTime string
    Status string
    TaskDescription string
    TaskName string
    Duration string
    EndTime string
    Messages []string
    Reason string
    StartTime string
    Status string
    TaskDescription string
    TaskName string
    duration String
    endTime String
    messages List<String>
    reason String
    startTime String
    status String
    taskDescription String
    taskName String
    duration string
    endTime string
    messages string[]
    reason string
    startTime string
    status string
    taskDescription string
    taskName string
    duration String
    endTime String
    messages List<String>
    reason String
    startTime String
    status String
    taskDescription String
    taskName String

    Package Details

    Repository
    avi vmware/terraform-provider-avi
    License
    Notes
    This Pulumi package is based on the avi Terraform Provider.
    avi logo
    avi 31.1.1 published on Monday, Apr 14, 2025 by vmware