avi.Taskjournal
Explore with Pulumi AI
- –>
- layout: “avi”
- page_title: “Avi: avi.Taskjournal” sidebar_current: “docs-avi-resource-taskjournal” description: |- Creates and manages Avi TaskJournal.
- Example Usage
- Create Taskjournal Resource
- Constructor syntax
- Constructor example
- Taskjournal Resource Properties
- Inputs
- Outputs
- Look up Existing Taskjournal Resource
- Supporting Types
- Package Details
<!–
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"});
import pulumi
import pulumi_avi as avi
foo = avi.Taskjournal("foo", tenant_ref="/api/tenant/?name=admin")
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
})
}
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",
});
});
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());
}
}
resources:
foo:
type: avi:Taskjournal
properties:
tenantRef: /api/tenant/?name=admin
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",
});
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"),
})
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());
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")
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",
});
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
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<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.
- 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<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.
- Taskjournal
Id string - Tasks
List<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.
- Summaries
This property is required. []TaskjournalSummary Args - Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Errors
[]Taskjournal
Error Args - 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 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
[]Taskjournal
Info Args - 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.
- Taskjournal
Id string - Tasks
[]Taskjournal
Task Args - 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.
- 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<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.
- 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<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.
- taskjournal
Id String - tasks
List<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.
- 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
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.
- 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
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.
- taskjournal
Id string - tasks
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.
- summaries
This property is required. Sequence[TaskjournalSummary Args] - Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- errors
Sequence[Taskjournal
Error Args] - 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[Taskjournal
Info Args] - 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.
- taskjournal_
id str - tasks
Sequence[Taskjournal
Task Args] - 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.
- 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.
- taskjournal
Id 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.
- 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.
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.
- Errors
List<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.
- 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<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<Taskjournal
Summary> - Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Taskjournal
Id string - Tasks
List<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
[]Taskjournal
Error Args - 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 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
[]Taskjournal
Info Args - 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
[]Taskjournal
Summary Args - Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Taskjournal
Id string - Tasks
[]Taskjournal
Task Args - 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<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.
- 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<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<Taskjournal
Summary> - Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- taskjournal
Id String - tasks
List<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
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.
- 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
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
Taskjournal
Summary[] - Summary of journal. Field introduced in 30.2.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- taskjournal
Id string - tasks
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[Taskjournal
Error Args] - 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[Taskjournal
Info Args] - 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[Taskjournal
Summary Args] - 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[Taskjournal
Task Args] - 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.
- 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.
- taskjournal
Id 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.
- 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
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
- Total
Objects This property is required. string - Actions
List<Taskjournal
Info Action> - Versions List<string>
- Total
Objects This property is required. string - Actions
[]Taskjournal
Info Action - Versions []string
- total
Objects This property is required. String - actions
List<Taskjournal
Info Action> - versions List<String>
- total
Objects This property is required. string - actions
Taskjournal
Info Action[] - versions string[]
- total_
objects This property is required. str - actions
Sequence[Taskjournal
Info Action] - versions Sequence[str]
- total
Objects This property is required. String - actions List<Property Map>
- versions List<String>
TaskjournalInfoAction, TaskjournalInfoActionArgs
- objects List<Property Map>
- version String
TaskjournalInfoActionObject, TaskjournalInfoActionObjectArgs
TaskjournalSummary, TaskjournalSummaryArgs
- Type
This property is required. string - Description string
- Duration string
- End
Time string - Error
Count string - Reason string
- Start
Time string - Status string
- Type
This property is required. string - Description string
- Duration string
- End
Time string - Error
Count string - Reason string
- Start
Time string - Status string
- type
This property is required. String - description String
- duration String
- end
Time String - error
Count String - reason String
- start
Time String - status String
- type
This property is required. string - description string
- duration string
- end
Time string - error
Count string - reason string
- start
Time 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
- end
Time String - error
Count String - reason String
- start
Time String - status String
TaskjournalTask, TaskjournalTaskArgs
- 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.
- –>
- layout: “avi”
- page_title: “Avi: avi.Taskjournal” sidebar_current: “docs-avi-resource-taskjournal” description: |- Creates and manages Avi TaskJournal.
- Example Usage
- Create Taskjournal Resource
- Constructor syntax
- Constructor example
- Taskjournal Resource Properties
- Inputs
- Outputs
- Look up Existing Taskjournal Resource
- Supporting Types
- Package Details