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

<!–

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",
});
Copy
import pulumi
import pulumi_avi as avi

foo_taskjournal = avi.get_taskjournal(name="foo",
    uuid="taskjournal-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  fooTaskjournal:
    fn::invoke:
      function: avi:getTaskjournal
      arguments:
        name: foo
        uuid: taskjournal-f9cf6b3e-a411-436f-95e2-2982ba2b217b
Copy

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>
Copy
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]
Copy
func LookupTaskjournal(ctx *Context, args *LookupTaskjournalArgs, opts ...InvokeOption) (*LookupTaskjournalResult, error)
func LookupTaskjournalOutput(ctx *Context, args *LookupTaskjournalOutputArgs, opts ...InvokeOption) LookupTaskjournalResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetTaskjournalResult> getTaskjournal(GetTaskjournalArgs args, InvokeOptions options)
public static Output<GetTaskjournalResult> getTaskjournal(GetTaskjournalArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: avi:index/getTaskjournal:getTaskjournal
  arguments:
    # arguments dictionary
Copy

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 This property is required. List<string>
Name This property is required. string
Search TaskJournal by name.
Object This property is required. string
Tenant This property is required. string
Uuid This property is required. string
Search TaskJournal by uuid.
Version This property is required. string
Details This property is required. []string
Name This property is required. string
Search TaskJournal by name.
Object This property is required. string
Tenant This property is required. string
Uuid This property is required. string
Search TaskJournal by uuid.
Version This property is required. string
details This property is required. List<String>
name This property is required. String
Search TaskJournal by name.
object This property is required. String
tenant This property is required. String
uuid This property is required. String
Search TaskJournal by uuid.
version This property is required. String
details This property is required. string[]
name This property is required. string
Search TaskJournal by name.
object This property is required. string
tenant This property is required. string
uuid This property is required. string
Search TaskJournal by uuid.
version This property is required. string
details This property is required. Sequence[str]
name This property is required. str
Search TaskJournal by name.
object This property is required. str
tenant This property is required. str
uuid This property is required. str
Search TaskJournal by uuid.
version This property is required. str
details This property is required. List<String>
name This property is required. String
Search TaskJournal by name.
object This property is required. String
tenant This property is required. String
uuid This property is required. String
Search TaskJournal by uuid.
version This property is required. String

GetTaskjournalInfo

Actions This property is required. List<GetTaskjournalInfoAction>
TotalObjects This property is required. string
Versions This property is required. List<string>
Actions This property is required. []GetTaskjournalInfoAction
TotalObjects This property is required. string
Versions This property is required. []string
actions This property is required. List<GetTaskjournalInfoAction>
totalObjects This property is required. String
versions This property is required. List<String>
actions This property is required. GetTaskjournalInfoAction[]
totalObjects This property is required. string
versions This property is required. string[]
actions This property is required. Sequence[GetTaskjournalInfoAction]
total_objects This property is required. str
versions This property is required. Sequence[str]
actions This property is required. List<Property Map>
totalObjects This property is required. String
versions This property is required. List<String>

GetTaskjournalInfoAction

Objects This property is required. List<GetTaskjournalInfoActionObject>
Version This property is required. string
Objects This property is required. []GetTaskjournalInfoActionObject
Version This property is required. string
objects This property is required. List<GetTaskjournalInfoActionObject>
version This property is required. String
objects This property is required. GetTaskjournalInfoActionObject[]
version This property is required. string
objects This property is required. Sequence[GetTaskjournalInfoActionObject]
version This property is required. str
objects This property is required. List<Property Map>
version This property is required. String

GetTaskjournalInfoActionObject

Failed This property is required. string
Model This property is required. string
Skipped This property is required. string
Success This property is required. string
Failed This property is required. string
Model This property is required. string
Skipped This property is required. string
Success This property is required. string
failed This property is required. String
model This property is required. String
skipped This property is required. String
success This property is required. String
failed This property is required. string
model This property is required. string
skipped This property is required. string
success This property is required. string
failed This property is required. str
model This property is required. str
skipped This property is required. str
success This property is required. str
failed This property is required. String
model This property is required. String
skipped This property is required. String
success This property is required. String

GetTaskjournalSummary

Description This property is required. string
Duration This property is required. string
EndTime This property is required. string
ErrorCount This property is required. string
Reason This property is required. string
StartTime This property is required. string
Status This property is required. string
Type This property is required. string
Description This property is required. string
Duration This property is required. string
EndTime This property is required. string
ErrorCount This property is required. string
Reason This property is required. string
StartTime This property is required. string
Status This property is required. string
Type This property is required. string
description This property is required. String
duration This property is required. String
endTime This property is required. String
errorCount This property is required. String
reason This property is required. String
startTime This property is required. String
status This property is required. String
type This property is required. String
description This property is required. string
duration This property is required. string
endTime This property is required. string
errorCount This property is required. string
reason This property is required. string
startTime This property is required. string
status This property is required. string
type This property is required. string
description This property is required. str
duration This property is required. str
end_time This property is required. str
error_count This property is required. str
reason This property is required. str
start_time This property is required. str
status This property is required. str
type This property is required. str
description This property is required. String
duration This property is required. String
endTime This property is required. String
errorCount This property is required. String
reason This property is required. String
startTime This property is required. String
status This property is required. String
type This property is required. String

GetTaskjournalTask

Duration This property is required. string
EndTime This property is required. string
Messages This property is required. List<string>
Reason This property is required. string
StartTime This property is required. string
Status This property is required. string
TaskDescription This property is required. string
TaskName This property is required. string
Duration This property is required. string
EndTime This property is required. string
Messages This property is required. []string
Reason This property is required. string
StartTime This property is required. string
Status This property is required. string
TaskDescription This property is required. string
TaskName This property is required. string
duration This property is required. String
endTime This property is required. String
messages This property is required. List<String>
reason This property is required. String
startTime This property is required. String
status This property is required. String
taskDescription This property is required. String
taskName This property is required. String
duration This property is required. string
endTime This property is required. string
messages This property is required. string[]
reason This property is required. string
startTime This property is required. string
status This property is required. string
taskDescription This property is required. string
taskName This property is required. string
duration This property is required. str
end_time This property is required. str
messages This property is required. Sequence[str]
reason This property is required. str
start_time This property is required. str
status This property is required. str
task_description This property is required. str
task_name This property is required. str
duration This property is required. String
endTime This property is required. String
messages This property is required. List<String>
reason This property is required. String
startTime This property is required. String
status This property is required. String
taskDescription This property is required. String
taskName This property is required. String

Package Details

Repository
avi vmware/terraform-provider-avi
License
Notes
This Pulumi package is based on the avi Terraform Provider.