Class AddLockDetails
Request payload to add lock to the resource. The FULL lock type allows no modifications (delete, create, update). The DELETE lock type allows all modifications, but delete is not allowed.
Inherited Members
Namespace: Oci.LimitsService.Models
Assembly: OCI.DotNetSDK.Limits.dll
Syntax
public class AddLockDetails
Properties
Message
Declaration
[JsonProperty(PropertyName = "message")]
public string Message { get; set; }
Property Value
Type | Description |
---|---|
string | A message added by the lock creator. The message typically gives an indication of why the resource is locked. |
RelatedResourceId
Declaration
[JsonProperty(PropertyName = "relatedResourceId")]
public string RelatedResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The resource ID that is locking this resource. Indicates that deleting this resource removes the lock. |
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(StringEnumConverter))]
public AddLockDetails.TypeEnum? Type { get; set; }
Property Value
Type | Description |
---|---|
AddLockDetails.TypeEnum? | Lock type. |
Remarks
Required