Show / Hide Table of Contents

Class WorkRequestSummary

The summary of a work request.

Inheritance
object
WorkRequestSummary
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OsmanagementhubService.Models
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class WorkRequestSummary

Properties

ChildrenId

Declaration
[JsonProperty(PropertyName = "childrenId")]
public List<string> ChildrenId { get; set; }
Property Value
Type Description
List<string>

The list of OCIDs for child work requests.

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource it affects. If the work request affects multiple resources the different compartments, the services selects the compartment of the primary resource.

Remarks

Required

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

A short description about the work request.

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

A short display name for the work request.

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the work request.

Remarks

Required

IsManagedByAutonomousLinux

Declaration
[JsonProperty(PropertyName = "isManagedByAutonomousLinux")]
public bool? IsManagedByAutonomousLinux { get; set; }
Property Value
Type Description
bool?

Indicates whether this work request is managed by Autonomous Linux

Message

Declaration
[JsonProperty(PropertyName = "message")]
public string Message { get; set; }
Property Value
Type Description
string

A progress or error message, if there is any.

OperationType

Declaration
[Required(ErrorMessage = "OperationType is required.")]
[JsonProperty(PropertyName = "operationType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public WorkRequestOperationType? OperationType { get; set; }
Property Value
Type Description
WorkRequestOperationType?

Type of the work request.

Remarks

Required

ParentId

Declaration
[JsonProperty(PropertyName = "parentId")]
public string ParentId { get; set; }
Property Value
Type Description
string

The OCID of the parent work request, if there is any.

PercentComplete

Declaration
[JsonProperty(PropertyName = "percentComplete")]
public float? PercentComplete { get; set; }
Property Value
Type Description
float?

The percentage complete of the operation tracked by this work request.

RebootTimeoutInMins

Declaration
[JsonProperty(PropertyName = "rebootTimeoutInMins")]
public int? RebootTimeoutInMins { get; set; }
Property Value
Type Description
int?

The number of minutes the service waits for the reboot to complete. If the managed instance doesn't reboot within the timeout, the service marks the reboot job as failed.

Status

Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OperationStatus? Status { get; set; }
Property Value
Type Description
OperationStatus?

Status of the work request.

Remarks

Required

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time the request was created - as described in RFC 3339, section 14.29.

Remarks

Required

TimeScheduled

Declaration
[JsonProperty(PropertyName = "timeScheduled")]
public DateTime? TimeScheduled { get; set; }
Property Value
Type Description
DateTime?

The scheduled date and time to retry the work request (in RFC 3339 format).

In this article
Back to top