Show / Hide Table of Contents

Class WorkRequestResource

A resource created, operated on or used 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.OsmanagementService.Models
Assembly: OCI.DotNetSDK.Osmanagement.dll
Syntax
public class WorkRequestResource

Properties

ActionType

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

The way in which this resource is affected by the work tracked in the work request. A resource being created, updated, or deleted will remain in the IN_PROGRESS state until work is complete for that resource at which point it will transition to CREATED, UPDATED, or DELETED, respectively. If the request failed for that resource, the state will be FAILED.

Remarks

Required

EntityType

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

The resource type for the work request.

Remarks

Required

EntityUri

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

The URI path that the user can do a GET on to access the resource metadata.

Remarks

Required

Identifier

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

The identifier of the resource. Not all resources will have an id.

Remarks

Required

Name

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

The name of the resource. Not all resources will have a name specified.

In this article
Back to top