PrevalidateCreatePayload

class oci.globally_distributed_database.models.PrevalidateCreatePayload(**kwargs)

Bases: oci.globally_distributed_database.models.prevalidate_payload.PrevalidatePayload

Payload to prevalidate create sharded database operation.

Attributes

OPERATION_CREATE str(object=’’) -> str
OPERATION_PATCH str(object=’’) -> str
operation [Required] Gets the operation of this PrevalidatePayload.
prevalidate_payload [Required] Gets the prevalidate_payload of this PrevalidateCreatePayload.

Methods

__init__(**kwargs) Initializes a new PrevalidateCreatePayload object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
OPERATION_CREATE = 'CREATE'
OPERATION_PATCH = 'PATCH'
__init__(**kwargs)

Initializes a new PrevalidateCreatePayload object with values from keyword arguments. The default value of the operation attribute of this class is CREATE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • operation (str) – The value to assign to the operation property of this PrevalidateCreatePayload. Allowed values for this property are: “CREATE”, “PATCH”
  • prevalidate_payload (oci.globally_distributed_database.models.CreateShardedDatabaseDetails) – The value to assign to the prevalidate_payload property of this PrevalidateCreatePayload.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

operation

[Required] Gets the operation of this PrevalidatePayload. The operation on sharded database that need to be pre-validated.

Allowed values for this property are: “CREATE”, “PATCH”

Returns:The operation of this PrevalidatePayload.
Return type:str
prevalidate_payload

[Required] Gets the prevalidate_payload of this PrevalidateCreatePayload.

Returns:The prevalidate_payload of this PrevalidateCreatePayload.
Return type:oci.globally_distributed_database.models.CreateShardedDatabaseDetails