CreatePatchDetails¶
- class oci.data_integration.models.CreatePatchDetails(**kwargs)¶
Bases:
objectProperties used in patch create operations.
Attributes:
A constant which can be used with the patch_type property of a CreatePatchDetails.
A constant which can be used with the patch_type property of a CreatePatchDetails.
A constant which can be used with the patch_type property of a CreatePatchDetails.
Gets the description of this CreatePatchDetails.
[Required] Gets the identifier of this CreatePatchDetails.
Gets the key of this CreatePatchDetails.
Gets the model_version of this CreatePatchDetails.
[Required] Gets the name of this CreatePatchDetails.
[Required] Gets the object_keys of this CreatePatchDetails.
Gets the object_status of this CreatePatchDetails.
[Required] Gets the patch_type of this CreatePatchDetails.
Gets the registry_metadata of this CreatePatchDetails.
Methods:
__init__(**kwargs)Initializes a new CreatePatchDetails object with values from keyword arguments.
- PATCH_TYPE_PUBLISH = 'PUBLISH'¶
A constant which can be used with the patch_type property of a CreatePatchDetails. This constant has a value of “PUBLISH”
- PATCH_TYPE_REFRESH = 'REFRESH'¶
A constant which can be used with the patch_type property of a CreatePatchDetails. This constant has a value of “REFRESH”
- PATCH_TYPE_UNPUBLISH = 'UNPUBLISH'¶
A constant which can be used with the patch_type property of a CreatePatchDetails. This constant has a value of “UNPUBLISH”
- __init__(**kwargs)¶
Initializes a new CreatePatchDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
key (str) – The value to assign to the key property of this CreatePatchDetails.
model_version (str) – The value to assign to the model_version property of this CreatePatchDetails.
name (str) – The value to assign to the name property of this CreatePatchDetails.
description (str) – The value to assign to the description property of this CreatePatchDetails.
object_status (int) – The value to assign to the object_status property of this CreatePatchDetails.
identifier (str) – The value to assign to the identifier property of this CreatePatchDetails.
patch_type (str) – The value to assign to the patch_type property of this CreatePatchDetails. Allowed values for this property are: “PUBLISH”, “REFRESH”, “UNPUBLISH”
object_keys (list[str]) – The value to assign to the object_keys property of this CreatePatchDetails.
registry_metadata (oci.data_integration.models.RegistryMetadata) – The value to assign to the registry_metadata property of this CreatePatchDetails.
- property description¶
Gets the description of this CreatePatchDetails. Detailed description for the object.
- Returns
The description of this CreatePatchDetails.
- Return type
str
- property identifier¶
[Required] Gets the identifier of this CreatePatchDetails. Value can only contain upper case letters, underscore and numbers. It should begin with upper case letter or underscore. The value can be modified.
- Returns
The identifier of this CreatePatchDetails.
- Return type
str
- property key¶
Gets the key of this CreatePatchDetails. The object’s key.
- Returns
The key of this CreatePatchDetails.
- Return type
str
- property model_version¶
Gets the model_version of this CreatePatchDetails. The object’s model version.
- Returns
The model_version of this CreatePatchDetails.
- Return type
str
- property name¶
[Required] Gets the name of this CreatePatchDetails. Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
- Returns
The name of this CreatePatchDetails.
- Return type
str
- property object_keys¶
[Required] Gets the object_keys of this CreatePatchDetails. The array of object keys to publish into application.
- Returns
The object_keys of this CreatePatchDetails.
- Return type
list[str]
- property object_status¶
Gets the object_status of this CreatePatchDetails. The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
- Returns
The object_status of this CreatePatchDetails.
- Return type
int
- property patch_type¶
[Required] Gets the patch_type of this CreatePatchDetails. The type of the patch applied or being applied on the application.
Allowed values for this property are: “PUBLISH”, “REFRESH”, “UNPUBLISH”
- Returns
The patch_type of this CreatePatchDetails.
- Return type
str
- property registry_metadata¶
Gets the registry_metadata of this CreatePatchDetails.
- Returns
The registry_metadata of this CreatePatchDetails.
- Return type