Viewing docs for Oracle Cloud Infrastructure v5.6.0
published on Thursday, Nov 5, 2026 by Pulumi
published on Thursday, Nov 5, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v5.6.0
published on Thursday, Nov 5, 2026 by Pulumi
published on Thursday, Nov 5, 2026 by Pulumi
This data source provides details about a specific Model Artifact Signature resource in Oracle Cloud Infrastructure Data Science service.
Gets the specified artifact signature for a model
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testModelArtifactSignature = oci.datascience.getModelArtifactSignature({
artifactSignatureId: testArtifactSignature.id,
modelId: testModel.id,
});
import pulumi
import pulumi_oci as oci
test_model_artifact_signature = oci.datascience.get_model_artifact_signature(artifact_signature_id=test_artifact_signature["id"],
model_id=test_model["id"])
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.GetModelArtifactSignature(ctx, &datascience.GetModelArtifactSignatureArgs{
ArtifactSignatureId: testArtifactSignature.Id,
ModelId: testModel.Id,
}, nil)
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 = Oci.DataScience.GetModelArtifactSignature.Invoke(new()
{
ArtifactSignatureId = testArtifactSignature.Id,
ModelId = testModel.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataScience.DataScienceFunctions;
import com.pulumi.oci.DataScience.inputs.GetModelArtifactSignatureArgs;
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) {
final var testModelArtifactSignature = DataScienceFunctions.getModelArtifactSignature(GetModelArtifactSignatureArgs.builder()
.artifactSignatureId(testArtifactSignature.get("id"))
.modelId(testModel.get("id"))
.build());
}
}
variables:
testModelArtifactSignature:
fn::invoke:
function: oci:DataScience:getModelArtifactSignature
arguments:
artifactSignatureId: ${testArtifactSignature.id}
modelId: ${testModel.id}
terraform {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_data_science_model_artifact_signature" "testModelArtifactSignature" {
artifact_signature_id = testArtifactSignature.id
model_id = testModel.id
}
Using getModelArtifactSignature
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getModelArtifactSignature(args: GetModelArtifactSignatureArgs, opts?: InvokeOptions): Promise<GetModelArtifactSignatureResult>
function getModelArtifactSignatureOutput(args: GetModelArtifactSignatureOutputArgs, opts?: InvokeOutputOptions): Output<GetModelArtifactSignatureResult>def get_model_artifact_signature(artifact_signature_id: Optional[str] = None,
model_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetModelArtifactSignatureResult
def get_model_artifact_signature_output(artifact_signature_id: pulumi.Input[Optional[str]] = None,
model_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetModelArtifactSignatureResult]func LookupModelArtifactSignature(ctx *Context, args *LookupModelArtifactSignatureArgs, opts ...InvokeOption) (*LookupModelArtifactSignatureResult, error)
func LookupModelArtifactSignatureOutput(ctx *Context, args *LookupModelArtifactSignatureOutputArgs, opts ...InvokeOption) LookupModelArtifactSignatureResultOutput> Note: This function is named LookupModelArtifactSignature in the Go SDK.
public static class GetModelArtifactSignature
{
public static Task<GetModelArtifactSignatureResult> InvokeAsync(GetModelArtifactSignatureArgs args, InvokeOptions? opts = null)
public static Output<GetModelArtifactSignatureResult> Invoke(GetModelArtifactSignatureInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetModelArtifactSignatureResult> Invoke(GetModelArtifactSignatureInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetModelArtifactSignatureResult> getModelArtifactSignature(GetModelArtifactSignatureArgs args, InvokeOptions options)
public static Output<GetModelArtifactSignatureResult> getModelArtifactSignature(GetModelArtifactSignatureArgs args, InvokeOptions options)
public static Output<GetModelArtifactSignatureResult> getModelArtifactSignature(GetModelArtifactSignatureArgs args, InvokeOutputOptions options)
fn::invoke:
function: oci:DataScience/getModelArtifactSignature:getModelArtifactSignature
arguments:
# arguments dictionarydata "oci_data_science_get_model_artifact_signature" "name" {
# arguments
}The following arguments are supported:
- Artifact
Signature stringId - The OCID of the model artifact signature.
- Model
Id string - The OCID of the model.
- Artifact
Signature stringId - The OCID of the model artifact signature.
- Model
Id string - The OCID of the model.
- artifact_
signature_ stringid - The OCID of the model artifact signature.
- model_
id string - The OCID of the model.
- artifact
Signature StringId - The OCID of the model artifact signature.
- model
Id String - The OCID of the model.
- artifact
Signature stringId - The OCID of the model artifact signature.
- model
Id string - The OCID of the model.
- artifact_
signature_ strid - The OCID of the model artifact signature.
- model_
id str - The OCID of the model.
- artifact
Signature StringId - The OCID of the model artifact signature.
- model
Id String - The OCID of the model.
getModelArtifactSignature Result
The following output properties are available:
- Artifact
Signature stringId - Compartment
Id string - The OCID of the compartment containing the resource.
- Created
By string - The OCID of the user who created the model.
- Dictionary<string, string>
- 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 - A user-friendly display name for the resource.
- 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 string
- The OCID of the model artifact signature.
- 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 whose artifact has to be signed.
- 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
- Artifact
Signature stringId - Compartment
Id string - The OCID of the compartment containing the resource.
- Created
By string - The OCID of the user who created the model.
- map[string]string
- 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 - A user-friendly display name for the resource.
- map[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 string
- The OCID of the model artifact signature.
- 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 whose artifact has to be signed.
- 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
- artifact_
signature_ stringid - compartment_
id string - The OCID of the compartment containing the resource.
- created_
by string - The OCID of the user who created the model.
- map(string)
- 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 - A user-friendly display name for the resource.
- map(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 string
- The OCID of the model artifact signature.
- 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 whose artifact has to be signed.
- 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
- artifact
Signature StringId - compartment
Id String - The OCID of the compartment containing the resource.
- created
By String - The OCID of the user who created the model.
- Map<String,String>
- 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 - A user-friendly display name for the resource.
- Map<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 String
- The OCID of the model artifact signature.
- 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 whose artifact has to be signed.
- 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
- artifact
Signature stringId - compartment
Id string - The OCID of the compartment containing the resource.
- created
By string - The OCID of the user who created the model.
- {[key: string]: string}
- 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 - A user-friendly display name for the resource.
- {[key: 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 string
- The OCID of the model artifact signature.
- 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 whose artifact has to be signed.
- 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
- artifact_
signature_ strid - compartment_
id str - The OCID of the compartment containing the resource.
- created_
by str - The OCID of the user who created the model.
- Mapping[str, str]
- 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 - A user-friendly display name for the resource.
- Mapping[str, str]
- 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 str
- The OCID of the model artifact signature.
- 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 whose artifact has to be signed.
- 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
- artifact
Signature StringId - compartment
Id String - The OCID of the compartment containing the resource.
- created
By String - The OCID of the user who created the model.
- Map<String>
- 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 - A user-friendly display name for the resource.
- Map<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 String
- The OCID of the model artifact signature.
- 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 whose artifact has to be signed.
- 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
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v5.6.0
published on Thursday, Nov 5, 2026 by Pulumi
published on Thursday, Nov 5, 2026 by Pulumi