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",
});
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 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.
getTaskjournal Result
The following output properties are available:
- Errors
List<Get
Taskjournal Error> - 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
- Image
Ref 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<Get
Taskjournal Info> - 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.
- Obj
Cloud stringRef - 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.
- Patch
Image stringRef - 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<Get
Taskjournal Summary> - Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Tasks
List<Get
Taskjournal Task> - 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 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
[]Get
Taskjournal Error - 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
- Image
Ref 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
[]Get
Taskjournal Info - 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.
- Obj
Cloud stringRef - 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.
- Patch
Image stringRef - 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
[]Get
Taskjournal Summary - Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Tasks
[]Get
Taskjournal Task - 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 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<Get
Taskjournal Error> - 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
- image
Ref 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<Get
Taskjournal Info> - 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.
- obj
Cloud StringRef - 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.
- patch
Image StringRef - 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<Get
Taskjournal Summary> - Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- tasks
List<Get
Taskjournal Task> - 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 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
Get
Taskjournal Error[] - 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
- image
Ref 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
Get
Taskjournal Info[] - 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.
- obj
Cloud stringRef - 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.
- patch
Image stringRef - 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
Get
Taskjournal Summary[] - Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- tasks
Get
Taskjournal Task[] - 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 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[Get
Taskjournal Error] - 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[Get
Taskjournal Info] - 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_ strref - 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_ strref - 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[Get
Taskjournal Summary] - Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- tasks
Sequence[Get
Taskjournal Task] - 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
- image
Ref 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.
- obj
Cloud StringRef - 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.
- patch
Image StringRef - 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.
- tenant
Ref 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
GetTaskjournalInfo
- Actions
List<Get
Taskjournal Info Action> - Total
Objects string - Versions List<string>
- Actions
[]Get
Taskjournal Info Action - Total
Objects string - Versions []string
- actions
List<Get
Taskjournal Info Action> - total
Objects String - versions List<String>
- actions
Get
Taskjournal Info Action[] - total
Objects string - versions string[]
- actions
Sequence[Get
Taskjournal Info Action] - total_
objects str - versions Sequence[str]
- actions List<Property Map>
- total
Objects String - versions List<String>
GetTaskjournalInfoAction
- objects List<Property Map>
- version String
GetTaskjournalInfoActionObject
GetTaskjournalSummary
- Description string
- Duration string
- End
Time string - Error
Count string - Reason string
- Start
Time string - Status string
- Type string
- Description string
- Duration string
- End
Time string - Error
Count string - Reason string
- Start
Time string - Status string
- Type string
- description String
- duration String
- end
Time String - error
Count String - reason String
- start
Time String - status String
- type String
- description string
- duration string
- end
Time string - error
Count string - reason string
- start
Time string - status string
- type string
- description str
- duration str
- end_
time str - error_
count str - reason str
- start_
time str - status str
- type str
- description String
- duration String
- end
Time String - error
Count String - reason String
- start
Time String - status String
- type String
GetTaskjournalTask
- duration str
- end_
time str - messages Sequence[str]
- reason str
- start_
time str - status str
- task_
description str - task_
name str
Package Details
- Repository
- avi vmware/terraform-provider-avi
- License
- Notes
- This Pulumi package is based on the
avi
Terraform Provider.