ModelArtifactSignature

class oci.data_science.models.ModelArtifactSignature(**kwargs)

Bases: object

Metadata of the model artifact signature.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a ModelArtifactSignature.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a ModelArtifactSignature.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a ModelArtifactSignature.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a ModelArtifactSignature.
SIGNING_ALGORITHM_SHA_224_RSA_PKCS_PSS A constant which can be used with the signing_algorithm property of a ModelArtifactSignature.
SIGNING_ALGORITHM_SHA_256_RSA_PKCS_PSS A constant which can be used with the signing_algorithm property of a ModelArtifactSignature.
SIGNING_ALGORITHM_SHA_384_RSA_PKCS_PSS A constant which can be used with the signing_algorithm property of a ModelArtifactSignature.
SIGNING_ALGORITHM_SHA_512_RSA_PKCS_PSS A constant which can be used with the signing_algorithm property of a ModelArtifactSignature.
compartment_id [Required] Gets the compartment_id of this ModelArtifactSignature.
created_by [Required] Gets the created_by of this ModelArtifactSignature.
defined_tags Gets the defined_tags of this ModelArtifactSignature.
digest [Required] Gets the digest of this ModelArtifactSignature.
display_name [Required] Gets the display_name of this ModelArtifactSignature.
freeform_tags Gets the freeform_tags of this ModelArtifactSignature.
id [Required] Gets the id of this ModelArtifactSignature.
kms_key_id [Required] Gets the kms_key_id of this ModelArtifactSignature.
kms_key_version_id [Required] Gets the kms_key_version_id of this ModelArtifactSignature.
lifecycle_state [Required] Gets the lifecycle_state of this ModelArtifactSignature.
model_id [Required] Gets the model_id of this ModelArtifactSignature.
signature [Required] Gets the signature of this ModelArtifactSignature.
signing_algorithm [Required] Gets the signing_algorithm of this ModelArtifactSignature.
system_tags Gets the system_tags of this ModelArtifactSignature.
time_created [Required] Gets the time_created of this ModelArtifactSignature.
time_updated [Required] Gets the time_updated of this ModelArtifactSignature.

Methods

__init__(**kwargs) Initializes a new ModelArtifactSignature object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a ModelArtifactSignature. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a ModelArtifactSignature. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a ModelArtifactSignature. This constant has a value of “DELETED”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a ModelArtifactSignature. This constant has a value of “FAILED”

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 ModelArtifactSignature. 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 ModelArtifactSignature. 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 ModelArtifactSignature. 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 ModelArtifactSignature. This constant has a value of “SHA_512_RSA_PKCS_PSS”

__init__(**kwargs)

Initializes a new ModelArtifactSignature object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this ModelArtifactSignature.
  • display_name (str) – The value to assign to the display_name property of this ModelArtifactSignature.
  • compartment_id (str) – The value to assign to the compartment_id property of this ModelArtifactSignature.
  • kms_key_id (str) – The value to assign to the kms_key_id property of this ModelArtifactSignature.
  • kms_key_version_id (str) – The value to assign to the kms_key_version_id property of this ModelArtifactSignature.
  • model_id (str) – The value to assign to the model_id property of this ModelArtifactSignature.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ModelArtifactSignature. Allowed values for this property are: “ACTIVE”, “CREATING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • digest (str) – The value to assign to the digest property of this ModelArtifactSignature.
  • signature (str) – The value to assign to the signature property of this ModelArtifactSignature.
  • signing_algorithm (str) – The value to assign to the signing_algorithm property of this ModelArtifactSignature. 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”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_created (datetime) – The value to assign to the time_created property of this ModelArtifactSignature.
  • time_updated (datetime) – The value to assign to the time_updated property of this ModelArtifactSignature.
  • created_by (str) – The value to assign to the created_by property of this ModelArtifactSignature.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ModelArtifactSignature.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ModelArtifactSignature.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ModelArtifactSignature.
compartment_id

[Required] Gets the compartment_id of this ModelArtifactSignature. The OCID of the compartment containing the resource.

Returns:The compartment_id of this ModelArtifactSignature.
Return type:str
created_by

[Required] Gets the created_by of this ModelArtifactSignature. The OCID of the user who created the model.

Returns:The created_by of this ModelArtifactSignature.
Return type:str
defined_tags

Gets the defined_tags of this ModelArtifactSignature. 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 ModelArtifactSignature.
Return type:dict(str, dict(str, object))
digest

[Required] Gets the digest of this ModelArtifactSignature. Base64 encoded string representing the model artifact digest.

Returns:The digest of this ModelArtifactSignature.
Return type:str
display_name

[Required] Gets the display_name of this ModelArtifactSignature. A user-friendly display name for the resource.

Returns:The display_name of this ModelArtifactSignature.
Return type:str
freeform_tags

Gets the freeform_tags of this ModelArtifactSignature. 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 ModelArtifactSignature.
Return type:dict(str, str)
id

[Required] Gets the id of this ModelArtifactSignature. The OCID of the artifact signature.

Returns:The id of this ModelArtifactSignature.
Return type:str
kms_key_id

[Required] Gets the kms_key_id of this ModelArtifactSignature. The OCID of the key from OCI KMS.

Returns:The kms_key_id of this ModelArtifactSignature.
Return type:str
kms_key_version_id

[Required] Gets the kms_key_version_id of this ModelArtifactSignature. The OCID of the key version from OCI KMS.

Returns:The kms_key_version_id of this ModelArtifactSignature.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this ModelArtifactSignature. The lifecycle state of the model artifact signature

Allowed values for this property are: “ACTIVE”, “CREATING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this ModelArtifactSignature.
Return type:str
model_id

[Required] Gets the model_id of this ModelArtifactSignature. The OCID of the model whose artifact has to be signed.

Returns:The model_id of this ModelArtifactSignature.
Return type:str
signature

[Required] Gets the signature of this ModelArtifactSignature. The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.

Returns:The signature of this ModelArtifactSignature.
Return type:str
signing_algorithm

[Required] Gets the signing_algorithm of this ModelArtifactSignature. 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”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The signing_algorithm of this ModelArtifactSignature.
Return type:str
system_tags

Gets the system_tags of this ModelArtifactSignature. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this ModelArtifactSignature.
Return type:dict(str, dict(str, object))
time_created

[Required] Gets the time_created of this ModelArtifactSignature. The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z

Returns:The time_created of this ModelArtifactSignature.
Return type:datetime
time_updated

[Required] Gets the time_updated of this ModelArtifactSignature. The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z

Returns:The time_updated of this ModelArtifactSignature.
Return type:datetime