CreateModelArtifactSignatureDetails¶
-
class
oci.data_science.models.CreateModelArtifactSignatureDetails(**kwargs)¶ Bases:
objectParameters required to create a new signature of a model artifact.
Attributes
SIGNING_ALGORITHM_SHA_224_RSA_PKCS_PSSA constant which can be used with the signing_algorithm property of a CreateModelArtifactSignatureDetails. SIGNING_ALGORITHM_SHA_256_RSA_PKCS_PSSA constant which can be used with the signing_algorithm property of a CreateModelArtifactSignatureDetails. SIGNING_ALGORITHM_SHA_384_RSA_PKCS_PSSA constant which can be used with the signing_algorithm property of a CreateModelArtifactSignatureDetails. SIGNING_ALGORITHM_SHA_512_RSA_PKCS_PSSA constant which can be used with the signing_algorithm property of a CreateModelArtifactSignatureDetails. compartment_id[Required] Gets the compartment_id of this CreateModelArtifactSignatureDetails. defined_tagsGets the defined_tags of this CreateModelArtifactSignatureDetails. display_nameGets the display_name of this CreateModelArtifactSignatureDetails. freeform_tagsGets the freeform_tags of this CreateModelArtifactSignatureDetails. kms_key_id[Required] Gets the kms_key_id of this CreateModelArtifactSignatureDetails. kms_key_version_id[Required] Gets the kms_key_version_id of this CreateModelArtifactSignatureDetails. signing_algorithm[Required] Gets the signing_algorithm of this CreateModelArtifactSignatureDetails. Methods
__init__(**kwargs)Initializes a new CreateModelArtifactSignatureDetails object with values from keyword arguments. -
SIGNING_ALGORITHM_SHA_224_RSA_PKCS_PSS= 'SHA_224_RSA_PKCS_PSS'¶ A constant which can be used with the signing_algorithm property of a CreateModelArtifactSignatureDetails. This constant has a value of “SHA_224_RSA_PKCS_PSS”
-
SIGNING_ALGORITHM_SHA_256_RSA_PKCS_PSS= 'SHA_256_RSA_PKCS_PSS'¶ A constant which can be used with the signing_algorithm property of a CreateModelArtifactSignatureDetails. This constant has a value of “SHA_256_RSA_PKCS_PSS”
-
SIGNING_ALGORITHM_SHA_384_RSA_PKCS_PSS= 'SHA_384_RSA_PKCS_PSS'¶ A constant which can be used with the signing_algorithm property of a CreateModelArtifactSignatureDetails. This constant has a value of “SHA_384_RSA_PKCS_PSS”
-
SIGNING_ALGORITHM_SHA_512_RSA_PKCS_PSS= 'SHA_512_RSA_PKCS_PSS'¶ A constant which can be used with the signing_algorithm property of a CreateModelArtifactSignatureDetails. This constant has a value of “SHA_512_RSA_PKCS_PSS”
-
__init__(**kwargs)¶ Initializes a new CreateModelArtifactSignatureDetails 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 CreateModelArtifactSignatureDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateModelArtifactSignatureDetails.
- kms_key_id (str) – The value to assign to the kms_key_id property of this CreateModelArtifactSignatureDetails.
- kms_key_version_id (str) – The value to assign to the kms_key_version_id property of this CreateModelArtifactSignatureDetails.
- signing_algorithm (str) – The value to assign to the signing_algorithm property of this CreateModelArtifactSignatureDetails. Allowed values for this property are: “SHA_224_RSA_PKCS_PSS”, “SHA_256_RSA_PKCS_PSS”, “SHA_384_RSA_PKCS_PSS”, “SHA_512_RSA_PKCS_PSS”
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateModelArtifactSignatureDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateModelArtifactSignatureDetails.
-
compartment_id¶ [Required] Gets the compartment_id of this CreateModelArtifactSignatureDetails. The OCID of the compartment containing the resource.
Returns: The compartment_id of this CreateModelArtifactSignatureDetails. Return type: str
Gets the defined_tags of this CreateModelArtifactSignatureDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this CreateModelArtifactSignatureDetails. Return type: dict(str, dict(str, object))
-
display_name¶ Gets the display_name of this CreateModelArtifactSignatureDetails. A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example: My Model Artifact Signature
Returns: The display_name of this CreateModelArtifactSignatureDetails. Return type: str
Gets the freeform_tags of this CreateModelArtifactSignatureDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {“Department”: “Finance”}
Returns: The freeform_tags of this CreateModelArtifactSignatureDetails. Return type: dict(str, str)
-
kms_key_id¶ [Required] Gets the kms_key_id of this CreateModelArtifactSignatureDetails. The OCID of the key from OCI KMS.
Returns: The kms_key_id of this CreateModelArtifactSignatureDetails. Return type: str
-
kms_key_version_id¶ [Required] Gets the kms_key_version_id of this CreateModelArtifactSignatureDetails. The OCID of the key version from OCI KMS.
Returns: The kms_key_version_id of this CreateModelArtifactSignatureDetails. Return type: str
-
signing_algorithm¶ [Required] Gets the signing_algorithm of this CreateModelArtifactSignatureDetails. The algorithm used for signing.
Allowed values for this property are: “SHA_224_RSA_PKCS_PSS”, “SHA_256_RSA_PKCS_PSS”, “SHA_384_RSA_PKCS_PSS”, “SHA_512_RSA_PKCS_PSS”
Returns: The signing_algorithm of this CreateModelArtifactSignatureDetails. Return type: str
-