Class WorkRequestResource
The resource created or operated on by a work request.
Inherited Members
Namespace: Oci.ClusterplacementgroupsService.Models
Assembly: OCI.DotNetSDK.Clusterplacementgroups.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 the resource is affected by the work 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 the state 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 | 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 | The URI path to which a client can send a GET 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 identifier of the resource that the work request affects. |
Remarks
Required
Metadata
Declaration
[JsonProperty(PropertyName = "metadata")]
public Dictionary<string, string> Metadata { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Additional information that helps to explain the resource. |