Class AddResourceLockDetails
Used to add a resource lock. 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.
Inherited Members
Namespace: Oci.GoldengateService.Models
Assembly: OCI.DotNetSDK.Goldengate.dll
Syntax
public class AddResourceLockDetails
Properties
Message
Declaration
[JsonProperty(PropertyName = "message")]
public string Message { get; set; }
Property Value
Type | Description |
---|---|
string | A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked. |
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(StringEnumConverter))]
public AddResourceLockDetails.TypeEnum? Type { get; set; }
Property Value
Type | Description |
---|---|
AddResourceLockDetails.TypeEnum? | Type of the lock. |
Remarks
Required