CreateCertificateDetails¶
-
class
oci.certificates_management.models.
CreateCertificateDetails
(**kwargs)¶ Bases:
object
The details of the certificate to create.
Methods
__init__
(**kwargs)Initializes a new CreateCertificateDetails object with values from keyword arguments. Attributes
certificate_config
[Required] Gets the certificate_config of this CreateCertificateDetails. certificate_rules
Gets the certificate_rules of this CreateCertificateDetails. compartment_id
[Required] Gets the compartment_id of this CreateCertificateDetails. defined_tags
Gets the defined_tags of this CreateCertificateDetails. description
Gets the description of this CreateCertificateDetails. freeform_tags
Gets the freeform_tags of this CreateCertificateDetails. name
[Required] Gets the name of this CreateCertificateDetails. -
__init__
(**kwargs)¶ Initializes a new CreateCertificateDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this CreateCertificateDetails.
- description (str) – The value to assign to the description property of this CreateCertificateDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateCertificateDetails.
- certificate_rules (list[oci.certificates_management.models.CertificateRule]) – The value to assign to the certificate_rules property of this CreateCertificateDetails.
- certificate_config (oci.certificates_management.models.CreateCertificateConfigDetails) – The value to assign to the certificate_config property of this CreateCertificateDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateCertificateDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateCertificateDetails.
-
certificate_config
¶ [Required] Gets the certificate_config of this CreateCertificateDetails.
Returns: The certificate_config of this CreateCertificateDetails. Return type: oci.certificates_management.models.CreateCertificateConfigDetails
-
certificate_rules
¶ Gets the certificate_rules of this CreateCertificateDetails. An optional list of rules that control how the certificate is used and managed.
Returns: The certificate_rules of this CreateCertificateDetails. Return type: list[oci.certificates_management.models.CertificateRule]
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateCertificateDetails. The OCID of the compartment where you want to create the certificate.
Returns: The compartment_id of this CreateCertificateDetails. Return type: str
Gets the defined_tags of this CreateCertificateDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this CreateCertificateDetails. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this CreateCertificateDetails. A brief description of the certificate. Avoid entering confidential information.
Returns: The description of this CreateCertificateDetails. Return type: str
Gets the freeform_tags of this CreateCertificateDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
Returns: The freeform_tags of this CreateCertificateDetails. Return type: dict(str, str)
-
name
¶ [Required] Gets the name of this CreateCertificateDetails. A user-friendly name for the certificate. Names are unique within a compartment. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
Returns: The name of this CreateCertificateDetails. Return type: str
-