Show / Hide Table of Contents

Class ModelArtifactSignature

Metadata of the model artifact signature.

Inheritance
object
ModelArtifactSignature
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatascienceService.Models
Assembly: OCI.DotNetSDK.Datascience.dll
Syntax
public class ModelArtifactSignature

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment containing the resource.

Remarks

Required

CreatedBy

Declaration
[Required(ErrorMessage = "CreatedBy is required.")]
[JsonProperty(PropertyName = "createdBy")]
public string CreatedBy { get; set; }
Property Value
Type Description
string

The OCID of the user who created the model.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations": {"CostCenter": "42"}}

Digest

Declaration
[Required(ErrorMessage = "Digest is required.")]
[JsonProperty(PropertyName = "digest")]
public string Digest { get; set; }
Property Value
Type Description
string

Base64 encoded string representing the model artifact digest.

Remarks

Required

DisplayName

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

A user-friendly display name for the resource.

Remarks

Required

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

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"}

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the artifact signature.

Remarks

Required

KmsKeyId

Declaration
[Required(ErrorMessage = "KmsKeyId is required.")]
[JsonProperty(PropertyName = "kmsKeyId")]
public string KmsKeyId { get; set; }
Property Value
Type Description
string

The OCID of the key from OCI KMS.

Remarks

Required

KmsKeyVersionId

Declaration
[Required(ErrorMessage = "KmsKeyVersionId is required.")]
[JsonProperty(PropertyName = "kmsKeyVersionId")]
public string KmsKeyVersionId { get; set; }
Property Value
Type Description
string

The OCID of the key version from OCI KMS.

Remarks

Required

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ArtifactSignatureLifecycleState? LifecycleState { get; set; }
Property Value
Type Description
ArtifactSignatureLifecycleState?

The lifecycle state of the model artifact signature

Remarks

Required

ModelId

Declaration
[Required(ErrorMessage = "ModelId is required.")]
[JsonProperty(PropertyName = "modelId")]
public string ModelId { get; set; }
Property Value
Type Description
string

The OCID of the model whose artifact has to be signed.

Remarks

Required

Signature

Declaration
[Required(ErrorMessage = "Signature is required.")]
[JsonProperty(PropertyName = "signature")]
public string Signature { get; set; }
Property Value
Type Description
string

The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.

Remarks

Required

SigningAlgorithm

Declaration
[Required(ErrorMessage = "SigningAlgorithm is required.")]
[JsonProperty(PropertyName = "signingAlgorithm")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ArtifactSigningAlgorithm? SigningAlgorithm { get; set; }
Property Value
Type Description
ArtifactSigningAlgorithm?

The algorithm used for signing.

Remarks

Required

SystemTags

Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z

Remarks

Required

TimeUpdated

Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z

Remarks

Required

In this article
Back to top