UpdateOpensearchClusterDetails¶
-
class
oci.opensearch.models.
UpdateOpensearchClusterDetails
(**kwargs)¶ Bases:
object
The configuration to update on an existing OpenSearch cluster. Software version and security config are not allowed to be updated at the same time.
Attributes
SECURITY_MODE_DISABLED
A constant which can be used with the security_mode property of a UpdateOpensearchClusterDetails. SECURITY_MODE_ENFORCING
A constant which can be used with the security_mode property of a UpdateOpensearchClusterDetails. SECURITY_MODE_PERMISSIVE
A constant which can be used with the security_mode property of a UpdateOpensearchClusterDetails. defined_tags
Gets the defined_tags of this UpdateOpensearchClusterDetails. display_name
[Required] Gets the display_name of this UpdateOpensearchClusterDetails. freeform_tags
Gets the freeform_tags of this UpdateOpensearchClusterDetails. security_master_user_name
Gets the security_master_user_name of this UpdateOpensearchClusterDetails. security_master_user_password_hash
Gets the security_master_user_password_hash of this UpdateOpensearchClusterDetails. security_mode
Gets the security_mode of this UpdateOpensearchClusterDetails. software_version
Gets the software_version of this UpdateOpensearchClusterDetails. Methods
__init__
(**kwargs)Initializes a new UpdateOpensearchClusterDetails object with values from keyword arguments. -
SECURITY_MODE_DISABLED
= 'DISABLED'¶ A constant which can be used with the security_mode property of a UpdateOpensearchClusterDetails. This constant has a value of “DISABLED”
-
SECURITY_MODE_ENFORCING
= 'ENFORCING'¶ A constant which can be used with the security_mode property of a UpdateOpensearchClusterDetails. This constant has a value of “ENFORCING”
-
SECURITY_MODE_PERMISSIVE
= 'PERMISSIVE'¶ A constant which can be used with the security_mode property of a UpdateOpensearchClusterDetails. This constant has a value of “PERMISSIVE”
-
__init__
(**kwargs)¶ Initializes a new UpdateOpensearchClusterDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - display_name (str) – The value to assign to the display_name property of this UpdateOpensearchClusterDetails.
- software_version (str) – The value to assign to the software_version property of this UpdateOpensearchClusterDetails.
- security_mode (str) – The value to assign to the security_mode property of this UpdateOpensearchClusterDetails. Allowed values for this property are: “DISABLED”, “PERMISSIVE”, “ENFORCING”
- security_master_user_name (str) – The value to assign to the security_master_user_name property of this UpdateOpensearchClusterDetails.
- security_master_user_password_hash (str) – The value to assign to the security_master_user_password_hash property of this UpdateOpensearchClusterDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateOpensearchClusterDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateOpensearchClusterDetails.
Gets the defined_tags of this UpdateOpensearchClusterDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this UpdateOpensearchClusterDetails. Return type: dict(str, dict(str, object))
-
display_name
¶ [Required] Gets the display_name of this UpdateOpensearchClusterDetails. The name of the cluster. Avoid entering confidential information.
Returns: The display_name of this UpdateOpensearchClusterDetails. Return type: str
Gets the freeform_tags of this UpdateOpensearchClusterDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this UpdateOpensearchClusterDetails. Return type: dict(str, str)
-
security_master_user_name
¶ Gets the security_master_user_name of this UpdateOpensearchClusterDetails. The name of the master user that are used to manage security config
Returns: The security_master_user_name of this UpdateOpensearchClusterDetails. Return type: str
-
security_master_user_password_hash
¶ Gets the security_master_user_password_hash of this UpdateOpensearchClusterDetails. The password hash of the master user that are used to manage security config
Returns: The security_master_user_password_hash of this UpdateOpensearchClusterDetails. Return type: str
-
security_mode
¶ Gets the security_mode of this UpdateOpensearchClusterDetails. The security mode of the cluster.
Allowed values for this property are: “DISABLED”, “PERMISSIVE”, “ENFORCING”
Returns: The security_mode of this UpdateOpensearchClusterDetails. Return type: str
-
software_version
¶ Gets the software_version of this UpdateOpensearchClusterDetails.
Returns: The software_version of this UpdateOpensearchClusterDetails. Return type: str
-