UpdateCertificateAuthorityConfigDetails¶
- class oci.certificates_management.models.UpdateCertificateAuthorityConfigDetails(**kwargs)¶
Bases:
objectThe configuration details for updating a certificate authority (CA).
Attributes:
A constant which can be used with the config_type property of a UpdateCertificateAuthorityConfigDetails.
A constant which can be used with the config_type property of a UpdateCertificateAuthorityConfigDetails.
A constant which can be used with the config_type property of a UpdateCertificateAuthorityConfigDetails.
CONFIG_TYPE_SUBORDINATE_CA_MANAGED_INTERNALLY_ISSUED_BY_EXTERNAL_CAA constant which can be used with the config_type property of a UpdateCertificateAuthorityConfigDetails.
A constant which can be used with the stage property of a UpdateCertificateAuthorityConfigDetails.
A constant which can be used with the stage property of a UpdateCertificateAuthorityConfigDetails.
[Required] Gets the config_type of this UpdateCertificateAuthorityConfigDetails.
Gets the stage of this UpdateCertificateAuthorityConfigDetails.
Gets the version_name of this UpdateCertificateAuthorityConfigDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateCertificateAuthorityConfigDetails 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.
- CONFIG_TYPE_ROOT_CA_GENERATED_INTERNALLY = 'ROOT_CA_GENERATED_INTERNALLY'¶
A constant which can be used with the config_type property of a UpdateCertificateAuthorityConfigDetails. This constant has a value of “ROOT_CA_GENERATED_INTERNALLY”
- CONFIG_TYPE_ROOT_CA_MANAGED_EXTERNALLY = 'ROOT_CA_MANAGED_EXTERNALLY'¶
A constant which can be used with the config_type property of a UpdateCertificateAuthorityConfigDetails. This constant has a value of “ROOT_CA_MANAGED_EXTERNALLY”
- CONFIG_TYPE_SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA = 'SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA'¶
A constant which can be used with the config_type property of a UpdateCertificateAuthorityConfigDetails. This constant has a value of “SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA”
- CONFIG_TYPE_SUBORDINATE_CA_MANAGED_INTERNALLY_ISSUED_BY_EXTERNAL_CA = 'SUBORDINATE_CA_MANAGED_INTERNALLY_ISSUED_BY_EXTERNAL_CA'¶
A constant which can be used with the config_type property of a UpdateCertificateAuthorityConfigDetails. This constant has a value of “SUBORDINATE_CA_MANAGED_INTERNALLY_ISSUED_BY_EXTERNAL_CA”
- STAGE_CURRENT = 'CURRENT'¶
A constant which can be used with the stage property of a UpdateCertificateAuthorityConfigDetails. This constant has a value of “CURRENT”
- STAGE_PENDING = 'PENDING'¶
A constant which can be used with the stage property of a UpdateCertificateAuthorityConfigDetails. This constant has a value of “PENDING”
- __init__(**kwargs)¶
Initializes a new UpdateCertificateAuthorityConfigDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
config_type (str) – The value to assign to the config_type property of this UpdateCertificateAuthorityConfigDetails. Allowed values for this property are: “ROOT_CA_GENERATED_INTERNALLY”, “SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA”, “ROOT_CA_MANAGED_EXTERNALLY”, “SUBORDINATE_CA_MANAGED_INTERNALLY_ISSUED_BY_EXTERNAL_CA”
version_name (str) – The value to assign to the version_name property of this UpdateCertificateAuthorityConfigDetails.
stage (str) – The value to assign to the stage property of this UpdateCertificateAuthorityConfigDetails. Allowed values for this property are: “CURRENT”, “PENDING”
- property config_type¶
[Required] Gets the config_type of this UpdateCertificateAuthorityConfigDetails. The origin of the CA.
Allowed values for this property are: “ROOT_CA_GENERATED_INTERNALLY”, “SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA”, “ROOT_CA_MANAGED_EXTERNALLY”, “SUBORDINATE_CA_MANAGED_INTERNALLY_ISSUED_BY_EXTERNAL_CA”
- Returns
The config_type of this UpdateCertificateAuthorityConfigDetails.
- Return type
str
- 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.
- property stage¶
Gets the stage of this UpdateCertificateAuthorityConfigDetails. The rotation state of the CA. The default is PENDING, meaning that the CA is staged and available for use. A CA version that you mark as CURRENT is currently in use, but you don’t yet want to rotate it into current, active use. For example, you might create or update a CA and mark its rotation state as PENDING if you haven’t yet updated the certificate on the target system.
Allowed values for this property are: “CURRENT”, “PENDING”
- Returns
The stage of this UpdateCertificateAuthorityConfigDetails.
- Return type
str
- property version_name¶
Gets the version_name of this UpdateCertificateAuthorityConfigDetails. The name of the CA version. When the value is not null, a name is unique across versions of a given CA.
- Returns
The version_name of this UpdateCertificateAuthorityConfigDetails.
- Return type
str