published on Thursday, Nov 5, 2026 by Pulumi
published on Thursday, Nov 5, 2026 by Pulumi
This resource provides the Model Artifact Signature resource in Oracle Cloud Infrastructure Data Science service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-science/latest/ArtifactSignature
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datascience
Create model artifact signature for the specified model
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testModelArtifactSignature = new oci.datascience.ModelArtifactSignature("test_model_artifact_signature", {
compartmentId: compartmentId,
kmsKeyId: testKey.id,
kmsKeyVersionId: testKeyVersion.id,
modelId: testModel.id,
signingAlgorithm: modelArtifactSignatureSigningAlgorithm,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: modelArtifactSignatureDisplayName,
freeformTags: {
Department: "Finance",
},
});
import pulumi
import pulumi_oci as oci
test_model_artifact_signature = oci.datascience.ModelArtifactSignature("test_model_artifact_signature",
compartment_id=compartment_id,
kms_key_id=test_key["id"],
kms_key_version_id=test_key_version["id"],
model_id=test_model["id"],
signing_algorithm=model_artifact_signature_signing_algorithm,
defined_tags={
"Operations.CostCenter": "42",
},
display_name=model_artifact_signature_display_name,
freeform_tags={
"Department": "Finance",
})
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/datascience"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datascience.NewModelArtifactSignature(ctx, "test_model_artifact_signature", &datascience.ModelArtifactSignatureArgs{
CompartmentId: pulumi.Any(compartmentId),
KmsKeyId: pulumi.Any(testKey.Id),
KmsKeyVersionId: pulumi.Any(testKeyVersion.Id),
ModelId: pulumi.Any(testModel.Id),
SigningAlgorithm: pulumi.Any(modelArtifactSignatureSigningAlgorithm),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DisplayName: pulumi.Any(modelArtifactSignatureDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testModelArtifactSignature = new Oci.DataScience.ModelArtifactSignature("test_model_artifact_signature", new()
{
CompartmentId = compartmentId,
KmsKeyId = testKey.Id,
KmsKeyVersionId = testKeyVersion.Id,
ModelId = testModel.Id,
SigningAlgorithm = modelArtifactSignatureSigningAlgorithm,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = modelArtifactSignatureDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataScience.ModelArtifactSignature;
import com.pulumi.oci.DataScience.ModelArtifactSignatureArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testModelArtifactSignature = new ModelArtifactSignature("testModelArtifactSignature", ModelArtifactSignatureArgs.builder()
.compartmentId(compartmentId)
.kmsKeyId(testKey.get("id"))
.kmsKeyVersionId(testKeyVersion.get("id"))
.modelId(testModel.get("id"))
.signingAlgorithm(modelArtifactSignatureSigningAlgorithm)
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(modelArtifactSignatureDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.build());
}
}
resources:
testModelArtifactSignature:
type: oci:DataScience:ModelArtifactSignature
name: test_model_artifact_signature
properties:
compartmentId: ${compartmentId}
kmsKeyId: ${testKey.id}
kmsKeyVersionId: ${testKeyVersion.id}
modelId: ${testModel.id}
signingAlgorithm: ${modelArtifactSignatureSigningAlgorithm}
definedTags:
Operations.CostCenter: '42'
displayName: ${modelArtifactSignatureDisplayName}
freeformTags:
Department: Finance
terraform {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
resource "oci_data_science_model_artifact_signature" "test_model_artifact_signature" {
lifecycle {
create_before_destroy = true
}
compartment_id = compartmentId
kms_key_id = testKey.id
kms_key_version_id = testKeyVersion.id
model_id = testModel.id
signing_algorithm = modelArtifactSignatureSigningAlgorithm
defined_tags = {
"Operations.CostCenter" = "42"
}
display_name = modelArtifactSignatureDisplayName
freeform_tags = {
"Department" = "Finance"
}
}
Create ModelArtifactSignature Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ModelArtifactSignature(name: string, args: ModelArtifactSignatureArgs, opts?: CustomResourceOptions);@overload
def ModelArtifactSignature(resource_name: str,
args: ModelArtifactSignatureArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ModelArtifactSignature(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
kms_key_id: Optional[str] = None,
kms_key_version_id: Optional[str] = None,
model_id: Optional[str] = None,
signing_algorithm: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
verify_trigger: Optional[int] = None)func NewModelArtifactSignature(ctx *Context, name string, args ModelArtifactSignatureArgs, opts ...ResourceOption) (*ModelArtifactSignature, error)public ModelArtifactSignature(string name, ModelArtifactSignatureArgs args, CustomResourceOptions? opts = null)
public ModelArtifactSignature(String name, ModelArtifactSignatureArgs args)
public ModelArtifactSignature(String name, ModelArtifactSignatureArgs args, CustomResourceOptions options)
type: oci:DataScience:ModelArtifactSignature
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "oci_data_science_model_artifact_signature" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ModelArtifactSignatureArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ModelArtifactSignatureArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ModelArtifactSignatureArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ModelArtifactSignatureArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ModelArtifactSignatureArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var modelArtifactSignatureResource = new Oci.DataScience.ModelArtifactSignature("modelArtifactSignatureResource", new()
{
CompartmentId = "string",
KmsKeyId = "string",
KmsKeyVersionId = "string",
ModelId = "string",
SigningAlgorithm = "string",
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
VerifyTrigger = 0,
});
example, err := datascience.NewModelArtifactSignature(ctx, "modelArtifactSignatureResource", &datascience.ModelArtifactSignatureArgs{
CompartmentId: pulumi.String("string"),
KmsKeyId: pulumi.String("string"),
KmsKeyVersionId: pulumi.String("string"),
ModelId: pulumi.String("string"),
SigningAlgorithm: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
VerifyTrigger: pulumi.Int(0),
})
resource "oci_data_science_model_artifact_signature" "modelArtifactSignatureResource" {
lifecycle {
create_before_destroy = true
}
compartment_id = "string"
kms_key_id = "string"
kms_key_version_id = "string"
model_id = "string"
signing_algorithm = "string"
defined_tags = {
"string" = "string"
}
display_name = "string"
freeform_tags = {
"string" = "string"
}
verify_trigger = 0
}
var modelArtifactSignatureResource = new ModelArtifactSignature("modelArtifactSignatureResource", ModelArtifactSignatureArgs.builder()
.compartmentId("string")
.kmsKeyId("string")
.kmsKeyVersionId("string")
.modelId("string")
.signingAlgorithm("string")
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.verifyTrigger(0)
.build());
model_artifact_signature_resource = oci.datascience.ModelArtifactSignature("modelArtifactSignatureResource",
compartment_id="string",
kms_key_id="string",
kms_key_version_id="string",
model_id="string",
signing_algorithm="string",
defined_tags={
"string": "string",
},
display_name="string",
freeform_tags={
"string": "string",
},
verify_trigger=0)
const modelArtifactSignatureResource = new oci.datascience.ModelArtifactSignature("modelArtifactSignatureResource", {
compartmentId: "string",
kmsKeyId: "string",
kmsKeyVersionId: "string",
modelId: "string",
signingAlgorithm: "string",
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
verifyTrigger: 0,
});
type: oci:DataScience:ModelArtifactSignature
properties:
compartmentId: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
kmsKeyId: string
kmsKeyVersionId: string
modelId: string
signingAlgorithm: string
verifyTrigger: 0
ModelArtifactSignature Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ModelArtifactSignature resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment containing the resource.
- Kms
Key stringId - The OCID of the key from Oracle Cloud Infrastructure KMS.
- Kms
Key stringVersion Id - The OCID of the key version from Oracle Cloud Infrastructure KMS.
- Model
Id string - The OCID of the model.
- Signing
Algorithm string - The algorithm used for signing.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"} - Display
Name string - (Updatable) 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 - Dictionary<string, string>
- (Updatable) 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"} - Verify
Trigger int (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Compartment
Id string - (Updatable) The OCID of the compartment containing the resource.
- Kms
Key stringId - The OCID of the key from Oracle Cloud Infrastructure KMS.
- Kms
Key stringVersion Id - The OCID of the key version from Oracle Cloud Infrastructure KMS.
- Model
Id string - The OCID of the model.
- Signing
Algorithm string - The algorithm used for signing.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"} - Display
Name string - (Updatable) 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 - map[string]string
- (Updatable) 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"} - Verify
Trigger int (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment_
id string - (Updatable) The OCID of the compartment containing the resource.
- kms_
key_ stringid - The OCID of the key from Oracle Cloud Infrastructure KMS.
- kms_
key_ stringversion_ id - The OCID of the key version from Oracle Cloud Infrastructure KMS.
- model_
id string - The OCID of the model.
- signing_
algorithm string - The algorithm used for signing.
- map(string)
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"} - display_
name string - (Updatable) 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 - map(string)
- (Updatable) 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"} - verify_
trigger number (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - (Updatable) The OCID of the compartment containing the resource.
- kms
Key StringId - The OCID of the key from Oracle Cloud Infrastructure KMS.
- kms
Key StringVersion Id - The OCID of the key version from Oracle Cloud Infrastructure KMS.
- model
Id String - The OCID of the model.
- signing
Algorithm String - The algorithm used for signing.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name String - (Updatable) 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 - Map<String,String>
- (Updatable) 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"} - verify
Trigger Integer (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id string - (Updatable) The OCID of the compartment containing the resource.
- kms
Key stringId - The OCID of the key from Oracle Cloud Infrastructure KMS.
- kms
Key stringVersion Id - The OCID of the key version from Oracle Cloud Infrastructure KMS.
- model
Id string - The OCID of the model.
- signing
Algorithm string - The algorithm used for signing.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name string - (Updatable) 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 - {[key: string]: string}
- (Updatable) 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"} - verify
Trigger number (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment_
id str - (Updatable) The OCID of the compartment containing the resource.
- kms_
key_ strid - The OCID of the key from Oracle Cloud Infrastructure KMS.
- kms_
key_ strversion_ id - The OCID of the key version from Oracle Cloud Infrastructure KMS.
- model_
id str - The OCID of the model.
- signing_
algorithm str - The algorithm used for signing.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"} - display_
name str - (Updatable) 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 - Mapping[str, str]
- (Updatable) 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"} - verify_
trigger int (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - (Updatable) The OCID of the compartment containing the resource.
- kms
Key StringId - The OCID of the key from Oracle Cloud Infrastructure KMS.
- kms
Key StringVersion Id - The OCID of the key version from Oracle Cloud Infrastructure KMS.
- model
Id String - The OCID of the model.
- signing
Algorithm String - The algorithm used for signing.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name String - (Updatable) 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 - Map<String>
- (Updatable) 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"} - verify
Trigger Number (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Outputs
All input properties are implicitly available as output properties. Additionally, the ModelArtifactSignature resource produces the following output properties:
- Created
By string - The OCID of the user who created the model.
- Digest string
- Base64 encoded string representing the model artifact digest.
- Id string
- The provider-assigned unique ID for this managed resource.
- Signature string
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- State string
- The lifecycle state of the model artifact signature
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- Time
Updated string - The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- Created
By string - The OCID of the user who created the model.
- Digest string
- Base64 encoded string representing the model artifact digest.
- Id string
- The provider-assigned unique ID for this managed resource.
- Signature string
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- State string
- The lifecycle state of the model artifact signature
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- Time
Updated string - The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- created_
by string - The OCID of the user who created the model.
- digest string
- Base64 encoded string representing the model artifact digest.
- id string
- The provider-assigned unique ID for this managed resource.
- signature string
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- state string
- The lifecycle state of the model artifact signature
- map(string)
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created string - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- time_
updated string - The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- created
By String - The OCID of the user who created the model.
- digest String
- Base64 encoded string representing the model artifact digest.
- id String
- The provider-assigned unique ID for this managed resource.
- signature String
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- state String
- The lifecycle state of the model artifact signature
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- time
Updated String - The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- created
By string - The OCID of the user who created the model.
- digest string
- Base64 encoded string representing the model artifact digest.
- id string
- The provider-assigned unique ID for this managed resource.
- signature string
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- state string
- The lifecycle state of the model artifact signature
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- time
Updated string - The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- created_
by str - The OCID of the user who created the model.
- digest str
- Base64 encoded string representing the model artifact digest.
- id str
- The provider-assigned unique ID for this managed resource.
- signature str
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- state str
- The lifecycle state of the model artifact signature
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- time_
updated str - The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- created
By String - The OCID of the user who created the model.
- digest String
- Base64 encoded string representing the model artifact digest.
- id String
- The provider-assigned unique ID for this managed resource.
- signature String
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- state String
- The lifecycle state of the model artifact signature
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- time
Updated String - The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
Look up Existing ModelArtifactSignature Resource
Get an existing ModelArtifactSignature resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ModelArtifactSignatureState, opts?: CustomResourceOptions): ModelArtifactSignature@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
created_by: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
digest: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
kms_key_id: Optional[str] = None,
kms_key_version_id: Optional[str] = None,
model_id: Optional[str] = None,
signature: Optional[str] = None,
signing_algorithm: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
verify_trigger: Optional[int] = None) -> ModelArtifactSignaturefunc GetModelArtifactSignature(ctx *Context, name string, id IDInput, state *ModelArtifactSignatureState, opts ...ResourceOption) (*ModelArtifactSignature, error)public static ModelArtifactSignature Get(string name, Input<string> id, ModelArtifactSignatureState? state, CustomResourceOptions? opts = null)public static ModelArtifactSignature get(String name, Output<String> id, ModelArtifactSignatureState state, CustomResourceOptions options)resources: _: type: oci:DataScience:ModelArtifactSignature get: id: ${id}import {
to = oci_data_science_model_artifact_signature.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - (Updatable) The OCID of the compartment containing the resource.
- Created
By string - The OCID of the user who created the model.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"} - Digest string
- Base64 encoded string representing the model artifact digest.
- Display
Name string - (Updatable) 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 - Dictionary<string, string>
- (Updatable) 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"} - Kms
Key stringId - The OCID of the key from Oracle Cloud Infrastructure KMS.
- Kms
Key stringVersion Id - The OCID of the key version from Oracle Cloud Infrastructure KMS.
- Model
Id string - The OCID of the model.
- Signature string
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- Signing
Algorithm string - The algorithm used for signing.
- State string
- The lifecycle state of the model artifact signature
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- Time
Updated string - The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- Verify
Trigger int (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Compartment
Id string - (Updatable) The OCID of the compartment containing the resource.
- Created
By string - The OCID of the user who created the model.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"} - Digest string
- Base64 encoded string representing the model artifact digest.
- Display
Name string - (Updatable) 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 - map[string]string
- (Updatable) 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"} - Kms
Key stringId - The OCID of the key from Oracle Cloud Infrastructure KMS.
- Kms
Key stringVersion Id - The OCID of the key version from Oracle Cloud Infrastructure KMS.
- Model
Id string - The OCID of the model.
- Signature string
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- Signing
Algorithm string - The algorithm used for signing.
- State string
- The lifecycle state of the model artifact signature
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- Time
Updated string - The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- Verify
Trigger int (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment_
id string - (Updatable) The OCID of the compartment containing the resource.
- created_
by string - The OCID of the user who created the model.
- map(string)
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"} - digest string
- Base64 encoded string representing the model artifact digest.
- display_
name string - (Updatable) 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 - map(string)
- (Updatable) 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"} - kms_
key_ stringid - The OCID of the key from Oracle Cloud Infrastructure KMS.
- kms_
key_ stringversion_ id - The OCID of the key version from Oracle Cloud Infrastructure KMS.
- model_
id string - The OCID of the model.
- signature string
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- signing_
algorithm string - The algorithm used for signing.
- state string
- The lifecycle state of the model artifact signature
- map(string)
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created string - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- time_
updated string - The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- verify_
trigger number (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - (Updatable) The OCID of the compartment containing the resource.
- created
By String - The OCID of the user who created the model.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"} - digest String
- Base64 encoded string representing the model artifact digest.
- display
Name String - (Updatable) 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 - Map<String,String>
- (Updatable) 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"} - kms
Key StringId - The OCID of the key from Oracle Cloud Infrastructure KMS.
- kms
Key StringVersion Id - The OCID of the key version from Oracle Cloud Infrastructure KMS.
- model
Id String - The OCID of the model.
- signature String
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- signing
Algorithm String - The algorithm used for signing.
- state String
- The lifecycle state of the model artifact signature
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- time
Updated String - The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- verify
Trigger Integer (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id string - (Updatable) The OCID of the compartment containing the resource.
- created
By string - The OCID of the user who created the model.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"} - digest string
- Base64 encoded string representing the model artifact digest.
- display
Name string - (Updatable) 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 - {[key: string]: string}
- (Updatable) 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"} - kms
Key stringId - The OCID of the key from Oracle Cloud Infrastructure KMS.
- kms
Key stringVersion Id - The OCID of the key version from Oracle Cloud Infrastructure KMS.
- model
Id string - The OCID of the model.
- signature string
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- signing
Algorithm string - The algorithm used for signing.
- state string
- The lifecycle state of the model artifact signature
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- time
Updated string - The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- verify
Trigger number (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment_
id str - (Updatable) The OCID of the compartment containing the resource.
- created_
by str - The OCID of the user who created the model.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"} - digest str
- Base64 encoded string representing the model artifact digest.
- display_
name str - (Updatable) 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 - Mapping[str, str]
- (Updatable) 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"} - kms_
key_ strid - The OCID of the key from Oracle Cloud Infrastructure KMS.
- kms_
key_ strversion_ id - The OCID of the key version from Oracle Cloud Infrastructure KMS.
- model_
id str - The OCID of the model.
- signature str
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- signing_
algorithm str - The algorithm used for signing.
- state str
- The lifecycle state of the model artifact signature
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- time_
updated str - The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- verify_
trigger int (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - (Updatable) The OCID of the compartment containing the resource.
- created
By String - The OCID of the user who created the model.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"} - digest String
- Base64 encoded string representing the model artifact digest.
- display
Name String - (Updatable) 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 - Map<String>
- (Updatable) 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"} - kms
Key StringId - The OCID of the key from Oracle Cloud Infrastructure KMS.
- kms
Key StringVersion Id - The OCID of the key version from Oracle Cloud Infrastructure KMS.
- model
Id String - The OCID of the model.
- signature String
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- signing
Algorithm String - The algorithm used for signing.
- state String
- The lifecycle state of the model artifact signature
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- time
Updated String - The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
- verify
Trigger Number (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Import
ModelArtifactSignatures can be imported using the id, e.g.
$ pulumi import oci:DataScience/modelArtifactSignature:ModelArtifactSignature test_model_artifact_signature "models/{modelId}/artifactSignatures/{artifactSignatureId}"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
published on Thursday, Nov 5, 2026 by Pulumi