RemoveResourceLockDetails¶
- class oci.apigateway.models.RemoveResourceLockDetails(**kwargs)¶
Bases:
objectUsed to remove 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.
Attributes:
A constant which can be used with the type property of a RemoveResourceLockDetails.
A constant which can be used with the type property of a RemoveResourceLockDetails.
[Required] Gets the type of this RemoveResourceLockDetails.
Methods:
__init__(**kwargs)Initializes a new RemoveResourceLockDetails object with values from keyword arguments.
- TYPE_DELETE = 'DELETE'¶
A constant which can be used with the type property of a RemoveResourceLockDetails. This constant has a value of “DELETE”
- TYPE_FULL = 'FULL'¶
A constant which can be used with the type property of a RemoveResourceLockDetails. This constant has a value of “FULL”
- __init__(**kwargs)¶
Initializes a new RemoveResourceLockDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
type (str) – The value to assign to the type property of this RemoveResourceLockDetails. Allowed values for this property are: “FULL”, “DELETE”
- property type¶
[Required] Gets the type of this RemoveResourceLockDetails. Type of the lock.
Allowed values for this property are: “FULL”, “DELETE”
- Returns
The type of this RemoveResourceLockDetails.
- Return type
str