Show / Hide Table of Contents

Class WorkRequestResource

The resource that is 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.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class WorkRequestResource

Properties

ActionType

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

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.

Remarks

Required

EntityDependencies

Declaration
[JsonProperty(PropertyName = "entityDependencies")]
public List<WorkRequestSubResource> EntityDependencies { get; set; }
Property Value
Type Description
List<WorkRequestSubResource>

The dependent resources of this work request resource, these can only be provisioned when primary resource successfully completes.

EntityName

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

The name of the WorkRequest resource entity.

EntityType

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

The resource type the work request affects.

Remarks

Required

EntityUri

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

The URI path that is used in 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

The OCID or other unique identifier of the resource the work request affects.

Remarks

Required

In this article
Back to top