Show / Hide Table of Contents

Class WorkRequestResource

This is a resource created or operated on by a work request.

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

Properties

ActionType

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

The way in which this resource is affected by the operation tracked in the work request. A resource being created, updated, or deleted remains in the IN_PROGRESS state until work is complete for that resource, at which point it transitions to CREATED, UPDATED, or DELETED, respectively.

Remarks

Required

EntityType

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

This is the resource type that the work request affects.

Remarks

Required

EntityUri

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

This is the URI path that you can use for a GET request to access the resource metadata.

Identifier

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

This is an OCID or other unique identifier for the resource.

Remarks

Required

In this article
Back to top