Show / Hide Table of Contents

Class IamWorkRequest

(For tenancies that support identity domains) An IAM work request object that allows users to track the status of asynchronous API requests.

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

Properties

CompartmentId

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

The OCID of the compartment containing this IAM 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

OperationType

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

The asynchronous operation tracked by this IAM work request.

Remarks

Required

PercentComplete

Declaration
[JsonProperty(PropertyName = "percentComplete")]
public float? PercentComplete { get; set; }
Property Value
Type Description
float?

How much progress the operation has made.

Resources

Declaration
[JsonProperty(PropertyName = "resources")]
public List<IamWorkRequestResource> Resources { get; set; }
Property Value
Type Description
List<IamWorkRequestResource>

The resources this work request affects.

Status

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

The status of the work request.

Remarks

Required

TimeAccepted

Declaration
[JsonProperty(PropertyName = "timeAccepted")]
public DateTime? TimeAccepted { get; set; }
Property Value
Type Description
DateTime?

Date and time the work was accepted, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

TimeFinished

Declaration
[JsonProperty(PropertyName = "timeFinished")]
public DateTime? TimeFinished { get; set; }
Property Value
Type Description
DateTime?

Date and time the work completed, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

TimeStarted

Declaration
[JsonProperty(PropertyName = "timeStarted")]
public DateTime? TimeStarted { get; set; }
Property Value
Type Description
DateTime?

Date and time the work started, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

In this article
Back to top