Class ResourceLock
Resource locks are used to prevent certain APIs from being called for the resource. A full lock prevents both updating the resource and deleting the resource. A delete lock prevents deleting the resource.
Inheritance
System.Object
ResourceLock
Namespace: Oci.IdentityService.Models
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class ResourceLock : object
Properties
IsActive
Declaration
public System.Nullable<bool> IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | Indicates if the lock is active or not. For example, if there are mutliple FULL locks, the first-created FULL lock will be effective. |
Message
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String | A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked. |
RelatedResourceId
Declaration
public string RelatedResourceId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock. |
TimeCreated
Declaration
public System.Nullable<System.DateTime> TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | When the lock was created. |
Type
Declaration
public System.Nullable<ResourceLock.TypeEnum> Type { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<ResourceLock.TypeEnum> | Type of the lock. |
Remarks
Required