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

avi.Taskjournal

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-resource-taskjournal” description: |- Creates and manages Avi TaskJournal.

avi.Taskjournal

The TaskJournal resource allows the creation and management of Avi TaskJournal

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as avi from "@pulumi/avi";

const foo = new avi.Taskjournal("foo", {tenantRef: "/api/tenant/?name=admin"});
Copy
import pulumi
import pulumi_avi as avi

foo = avi.Taskjournal("foo", tenant_ref="/api/tenant/?name=admin")
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.NewTaskjournal(ctx, "foo", &avi.TaskjournalArgs{
			TenantRef: pulumi.String("/api/tenant/?name=admin"),
		})
		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 foo = new Avi.Taskjournal("foo", new()
    {
        TenantRef = "/api/tenant/?name=admin",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.avi.Taskjournal;
import com.pulumi.avi.TaskjournalArgs;
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) {
        var foo = new Taskjournal("foo", TaskjournalArgs.builder()
            .tenantRef("/api/tenant/?name=admin")
            .build());

    }
}
Copy
resources:
  foo:
    type: avi:Taskjournal
    properties:
      tenantRef: /api/tenant/?name=admin
Copy

Create Taskjournal Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Taskjournal(name: string, args: TaskjournalArgs, opts?: CustomResourceOptions);
@overload
def Taskjournal(resource_name: str,
                args: TaskjournalArgs,
                opts: Optional[ResourceOptions] = None)

@overload
def Taskjournal(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                summaries: Optional[Sequence[TaskjournalSummaryArgs]] = None,
                errors: Optional[Sequence[TaskjournalErrorArgs]] = None,
                image_ref: Optional[str] = None,
                infos: Optional[Sequence[TaskjournalInfoArgs]] = None,
                name: Optional[str] = None,
                obj_cloud_ref: Optional[str] = None,
                operation: Optional[str] = None,
                patch_image_ref: Optional[str] = None,
                taskjournal_id: Optional[str] = None,
                tasks: Optional[Sequence[TaskjournalTaskArgs]] = None,
                tenant_ref: Optional[str] = None,
                uuid: Optional[str] = None)
func NewTaskjournal(ctx *Context, name string, args TaskjournalArgs, opts ...ResourceOption) (*Taskjournal, error)
public Taskjournal(string name, TaskjournalArgs args, CustomResourceOptions? opts = null)
public Taskjournal(String name, TaskjournalArgs args)
public Taskjournal(String name, TaskjournalArgs args, CustomResourceOptions options)
type: avi:Taskjournal
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. TaskjournalArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. TaskjournalArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. TaskjournalArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. TaskjournalArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. TaskjournalArgs
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 taskjournalResource = new Avi.Taskjournal("taskjournalResource", new()
{
    Summaries = new[]
    {
        new Avi.Inputs.TaskjournalSummaryArgs
        {
            Type = "string",
            Description = "string",
            Duration = "string",
            EndTime = "string",
            ErrorCount = "string",
            Reason = "string",
            StartTime = "string",
            Status = "string",
        },
    },
    Errors = new[]
    {
        new Avi.Inputs.TaskjournalErrorArgs
        {
            Details = new[]
            {
                "string",
            },
            Name = "string",
            Object = "string",
            Tenant = "string",
            Uuid = "string",
            Version = "string",
        },
    },
    ImageRef = "string",
    Infos = new[]
    {
        new Avi.Inputs.TaskjournalInfoArgs
        {
            TotalObjects = "string",
            Actions = new[]
            {
                new Avi.Inputs.TaskjournalInfoActionArgs
                {
                    Objects = new[]
                    {
                        new Avi.Inputs.TaskjournalInfoActionObjectArgs
                        {
                            Failed = "string",
                            Model = "string",
                            Skipped = "string",
                            Success = "string",
                        },
                    },
                    Version = "string",
                },
            },
            Versions = new[]
            {
                "string",
            },
        },
    },
    Name = "string",
    ObjCloudRef = "string",
    Operation = "string",
    PatchImageRef = "string",
    TaskjournalId = "string",
    Tasks = new[]
    {
        new Avi.Inputs.TaskjournalTaskArgs
        {
            Duration = "string",
            EndTime = "string",
            Messages = new[]
            {
                "string",
            },
            Reason = "string",
            StartTime = "string",
            Status = "string",
            TaskDescription = "string",
            TaskName = "string",
        },
    },
    TenantRef = "string",
    Uuid = "string",
});
Copy
example, err := avi.NewTaskjournal(ctx, "taskjournalResource", &avi.TaskjournalArgs{
Summaries: .TaskjournalSummaryArray{
&.TaskjournalSummaryArgs{
Type: pulumi.String("string"),
Description: pulumi.String("string"),
Duration: pulumi.String("string"),
EndTime: pulumi.String("string"),
ErrorCount: pulumi.String("string"),
Reason: pulumi.String("string"),
StartTime: pulumi.String("string"),
Status: pulumi.String("string"),
},
},
Errors: .TaskjournalErrorArray{
&.TaskjournalErrorArgs{
Details: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
Object: pulumi.String("string"),
Tenant: pulumi.String("string"),
Uuid: pulumi.String("string"),
Version: pulumi.String("string"),
},
},
ImageRef: pulumi.String("string"),
Infos: .TaskjournalInfoArray{
&.TaskjournalInfoArgs{
TotalObjects: pulumi.String("string"),
Actions: .TaskjournalInfoActionArray{
&.TaskjournalInfoActionArgs{
Objects: .TaskjournalInfoActionObjectArray{
&.TaskjournalInfoActionObjectArgs{
Failed: pulumi.String("string"),
Model: pulumi.String("string"),
Skipped: pulumi.String("string"),
Success: pulumi.String("string"),
},
},
Version: pulumi.String("string"),
},
},
Versions: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Name: pulumi.String("string"),
ObjCloudRef: pulumi.String("string"),
Operation: pulumi.String("string"),
PatchImageRef: pulumi.String("string"),
TaskjournalId: pulumi.String("string"),
Tasks: .TaskjournalTaskArray{
&.TaskjournalTaskArgs{
Duration: pulumi.String("string"),
EndTime: pulumi.String("string"),
Messages: pulumi.StringArray{
pulumi.String("string"),
},
Reason: pulumi.String("string"),
StartTime: pulumi.String("string"),
Status: pulumi.String("string"),
TaskDescription: pulumi.String("string"),
TaskName: pulumi.String("string"),
},
},
TenantRef: pulumi.String("string"),
Uuid: pulumi.String("string"),
})
Copy
var taskjournalResource = new Taskjournal("taskjournalResource", TaskjournalArgs.builder()
    .summaries(TaskjournalSummaryArgs.builder()
        .type("string")
        .description("string")
        .duration("string")
        .endTime("string")
        .errorCount("string")
        .reason("string")
        .startTime("string")
        .status("string")
        .build())
    .errors(TaskjournalErrorArgs.builder()
        .details("string")
        .name("string")
        .object("string")
        .tenant("string")
        .uuid("string")
        .version("string")
        .build())
    .imageRef("string")
    .infos(TaskjournalInfoArgs.builder()
        .totalObjects("string")
        .actions(TaskjournalInfoActionArgs.builder()
            .objects(TaskjournalInfoActionObjectArgs.builder()
                .failed("string")
                .model("string")
                .skipped("string")
                .success("string")
                .build())
            .version("string")
            .build())
        .versions("string")
        .build())
    .name("string")
    .objCloudRef("string")
    .operation("string")
    .patchImageRef("string")
    .taskjournalId("string")
    .tasks(TaskjournalTaskArgs.builder()
        .duration("string")
        .endTime("string")
        .messages("string")
        .reason("string")
        .startTime("string")
        .status("string")
        .taskDescription("string")
        .taskName("string")
        .build())
    .tenantRef("string")
    .uuid("string")
    .build());
Copy
taskjournal_resource = avi.Taskjournal("taskjournalResource",
    summaries=[{
        "type": "string",
        "description": "string",
        "duration": "string",
        "end_time": "string",
        "error_count": "string",
        "reason": "string",
        "start_time": "string",
        "status": "string",
    }],
    errors=[{
        "details": ["string"],
        "name": "string",
        "object": "string",
        "tenant": "string",
        "uuid": "string",
        "version": "string",
    }],
    image_ref="string",
    infos=[{
        "total_objects": "string",
        "actions": [{
            "objects": [{
                "failed": "string",
                "model": "string",
                "skipped": "string",
                "success": "string",
            }],
            "version": "string",
        }],
        "versions": ["string"],
    }],
    name="string",
    obj_cloud_ref="string",
    operation="string",
    patch_image_ref="string",
    taskjournal_id="string",
    tasks=[{
        "duration": "string",
        "end_time": "string",
        "messages": ["string"],
        "reason": "string",
        "start_time": "string",
        "status": "string",
        "task_description": "string",
        "task_name": "string",
    }],
    tenant_ref="string",
    uuid="string")
Copy
const taskjournalResource = new avi.Taskjournal("taskjournalResource", {
    summaries: [{
        type: "string",
        description: "string",
        duration: "string",
        endTime: "string",
        errorCount: "string",
        reason: "string",
        startTime: "string",
        status: "string",
    }],
    errors: [{
        details: ["string"],
        name: "string",
        object: "string",
        tenant: "string",
        uuid: "string",
        version: "string",
    }],
    imageRef: "string",
    infos: [{
        totalObjects: "string",
        actions: [{
            objects: [{
                failed: "string",
                model: "string",
                skipped: "string",
                success: "string",
            }],
            version: "string",
        }],
        versions: ["string"],
    }],
    name: "string",
    objCloudRef: "string",
    operation: "string",
    patchImageRef: "string",
    taskjournalId: "string",
    tasks: [{
        duration: "string",
        endTime: "string",
        messages: ["string"],
        reason: "string",
        startTime: "string",
        status: "string",
        taskDescription: "string",
        taskName: "string",
    }],
    tenantRef: "string",
    uuid: "string",
});
Copy
type: avi:Taskjournal
properties:
    errors:
        - details:
            - string
          name: string
          object: string
          tenant: string
          uuid: string
          version: string
    imageRef: string
    infos:
        - actions:
            - objects:
                - failed: string
                  model: string
                  skipped: string
                  success: string
              version: string
          totalObjects: string
          versions:
            - string
    name: string
    objCloudRef: string
    operation: string
    patchImageRef: string
    summaries:
        - description: string
          duration: string
          endTime: string
          errorCount: string
          reason: string
          startTime: string
          status: string
          type: string
    taskjournalId: string
    tasks:
        - duration: string
          endTime: string
          messages:
            - string
          reason: string
          startTime: string
          status: string
          taskDescription: string
          taskName: string
    tenantRef: string
    uuid: string
Copy

Taskjournal 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 Taskjournal resource accepts the following input properties:

Summaries This property is required. List<TaskjournalSummary>
Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
Errors List<TaskjournalError>
List of errors in the process. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
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<TaskjournalInfo>
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.
TaskjournalId string
Tasks List<TaskjournalTask>
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.
Summaries This property is required. []TaskjournalSummaryArgs
Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
Errors []TaskjournalErrorArgs
List of errors in the process. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
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 []TaskjournalInfoArgs
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.
TaskjournalId string
Tasks []TaskjournalTaskArgs
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.
summaries This property is required. List<TaskjournalSummary>
Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
errors List<TaskjournalError>
List of errors in the process. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
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<TaskjournalInfo>
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.
taskjournalId String
tasks List<TaskjournalTask>
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.
summaries This property is required. TaskjournalSummary[]
Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
errors TaskjournalError[]
List of errors in the process. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
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 TaskjournalInfo[]
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.
taskjournalId string
tasks TaskjournalTask[]
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.
summaries This property is required. Sequence[TaskjournalSummaryArgs]
Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
errors Sequence[TaskjournalErrorArgs]
List of errors in the process. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
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[TaskjournalInfoArgs]
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.
taskjournal_id str
tasks Sequence[TaskjournalTaskArgs]
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.
summaries This property is required. List<Property Map>
Summary of 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.
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.
taskjournalId String
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.

Outputs

All input properties are implicitly available as output properties. Additionally, the Taskjournal resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing Taskjournal Resource

Get an existing Taskjournal 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?: TaskjournalState, opts?: CustomResourceOptions): Taskjournal
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        errors: Optional[Sequence[TaskjournalErrorArgs]] = None,
        image_ref: Optional[str] = None,
        infos: Optional[Sequence[TaskjournalInfoArgs]] = None,
        name: Optional[str] = None,
        obj_cloud_ref: Optional[str] = None,
        operation: Optional[str] = None,
        patch_image_ref: Optional[str] = None,
        summaries: Optional[Sequence[TaskjournalSummaryArgs]] = None,
        taskjournal_id: Optional[str] = None,
        tasks: Optional[Sequence[TaskjournalTaskArgs]] = None,
        tenant_ref: Optional[str] = None,
        uuid: Optional[str] = None) -> Taskjournal
func GetTaskjournal(ctx *Context, name string, id IDInput, state *TaskjournalState, opts ...ResourceOption) (*Taskjournal, error)
public static Taskjournal Get(string name, Input<string> id, TaskjournalState? state, CustomResourceOptions? opts = null)
public static Taskjournal get(String name, Output<String> id, TaskjournalState state, CustomResourceOptions options)
resources:  _:    type: avi:Taskjournal    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Errors List<TaskjournalError>
List of errors in the process. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
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<TaskjournalInfo>
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<TaskjournalSummary>
Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
TaskjournalId string
Tasks List<TaskjournalTask>
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 []TaskjournalErrorArgs
List of errors in the process. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
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 []TaskjournalInfoArgs
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 []TaskjournalSummaryArgs
Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
TaskjournalId string
Tasks []TaskjournalTaskArgs
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<TaskjournalError>
List of errors in the process. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
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<TaskjournalInfo>
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<TaskjournalSummary>
Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
taskjournalId String
tasks List<TaskjournalTask>
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 TaskjournalError[]
List of errors in the process. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
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 TaskjournalInfo[]
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 TaskjournalSummary[]
Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
taskjournalId string
tasks TaskjournalTask[]
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[TaskjournalErrorArgs]
List of errors in the process. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
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[TaskjournalInfoArgs]
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[TaskjournalSummaryArgs]
Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
taskjournal_id str
tasks Sequence[TaskjournalTaskArgs]
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.
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.
taskjournalId String
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

TaskjournalError
, TaskjournalErrorArgs

Details List<string>
Name string
Name for the task journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
Object string
Tenant string
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.
Version string
Details []string
Name string
Name for the task journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
Object string
Tenant string
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.
Version string
details List<String>
name String
Name for the task journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
object String
tenant String
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.
version String
details string[]
name string
Name for the task journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
object string
tenant string
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.
version string
details Sequence[str]
name str
Name for the task journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
object str
tenant str
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.
version str
details List<String>
name String
Name for the task journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
object String
tenant String
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.
version String

TaskjournalInfo
, TaskjournalInfoArgs

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

TaskjournalInfoAction
, TaskjournalInfoActionArgs

TaskjournalInfoActionObject
, TaskjournalInfoActionObjectArgs

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

TaskjournalSummary
, TaskjournalSummaryArgs

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

TaskjournalTask
, TaskjournalTaskArgs

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.