Class WorkRequestSummary
The summary of a work request.
Inherited Members
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. |
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). |