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 the list of Model Artifact Signatures in Oracle Cloud Infrastructure Data Science service.
List model artifact signatures of a model in the specified compartment
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testModelArtifactSignatures = oci.datascience.getModelArtifactSignatures({
compartmentId: compartmentId,
modelId: testModel.id,
digest: modelArtifactSignatureDigest,
displayName: modelArtifactSignatureDisplayName,
state: modelArtifactSignatureState,
});
import pulumi
import pulumi_oci as oci
test_model_artifact_signatures = oci.datascience.get_model_artifact_signatures(compartment_id=compartment_id,
model_id=test_model["id"],
digest=model_artifact_signature_digest,
display_name=model_artifact_signature_display_name,
state=model_artifact_signature_state)
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.GetModelArtifactSignatures(ctx, &datascience.GetModelArtifactSignaturesArgs{
CompartmentId: compartmentId,
ModelId: testModel.Id,
Digest: pulumi.StringRef(modelArtifactSignatureDigest),
DisplayName: pulumi.StringRef(modelArtifactSignatureDisplayName),
State: pulumi.StringRef(modelArtifactSignatureState),
}, 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 testModelArtifactSignatures = Oci.DataScience.GetModelArtifactSignatures.Invoke(new()
{
CompartmentId = compartmentId,
ModelId = testModel.Id,
Digest = modelArtifactSignatureDigest,
DisplayName = modelArtifactSignatureDisplayName,
State = modelArtifactSignatureState,
});
});
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.GetModelArtifactSignaturesArgs;
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 testModelArtifactSignatures = DataScienceFunctions.getModelArtifactSignatures(GetModelArtifactSignaturesArgs.builder()
.compartmentId(compartmentId)
.modelId(testModel.get("id"))
.digest(modelArtifactSignatureDigest)
.displayName(modelArtifactSignatureDisplayName)
.state(modelArtifactSignatureState)
.build());
}
}
variables:
testModelArtifactSignatures:
fn::invoke:
function: oci:DataScience:getModelArtifactSignatures
arguments:
compartmentId: ${compartmentId}
modelId: ${testModel.id}
digest: ${modelArtifactSignatureDigest}
displayName: ${modelArtifactSignatureDisplayName}
state: ${modelArtifactSignatureState}
terraform {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_data_science_model_artifact_signatures" "testModelArtifactSignatures" {
compartment_id = compartmentId
model_id = testModel.id
digest = modelArtifactSignatureDigest
display_name = modelArtifactSignatureDisplayName
state = modelArtifactSignatureState
}
Using getModelArtifactSignatures
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 getModelArtifactSignatures(args: GetModelArtifactSignaturesArgs, opts?: InvokeOptions): Promise<GetModelArtifactSignaturesResult>
function getModelArtifactSignaturesOutput(args: GetModelArtifactSignaturesOutputArgs, opts?: InvokeOutputOptions): Output<GetModelArtifactSignaturesResult>def get_model_artifact_signatures(compartment_id: Optional[str] = None,
digest: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetModelArtifactSignaturesFilter]] = None,
model_id: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetModelArtifactSignaturesResult
def get_model_artifact_signatures_output(compartment_id: pulumi.Input[Optional[str]] = None,
digest: pulumi.Input[Optional[str]] = None,
display_name: pulumi.Input[Optional[str]] = None,
filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetModelArtifactSignaturesFilterArgs]]]] = None,
model_id: pulumi.Input[Optional[str]] = None,
state: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetModelArtifactSignaturesResult]func GetModelArtifactSignatures(ctx *Context, args *GetModelArtifactSignaturesArgs, opts ...InvokeOption) (*GetModelArtifactSignaturesResult, error)
func GetModelArtifactSignaturesOutput(ctx *Context, args *GetModelArtifactSignaturesOutputArgs, opts ...InvokeOption) GetModelArtifactSignaturesResultOutput> Note: This function is named GetModelArtifactSignatures in the Go SDK.
public static class GetModelArtifactSignatures
{
public static Task<GetModelArtifactSignaturesResult> InvokeAsync(GetModelArtifactSignaturesArgs args, InvokeOptions? opts = null)
public static Output<GetModelArtifactSignaturesResult> Invoke(GetModelArtifactSignaturesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetModelArtifactSignaturesResult> Invoke(GetModelArtifactSignaturesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetModelArtifactSignaturesResult> getModelArtifactSignatures(GetModelArtifactSignaturesArgs args, InvokeOptions options)
public static Output<GetModelArtifactSignaturesResult> getModelArtifactSignatures(GetModelArtifactSignaturesArgs args, InvokeOptions options)
public static Output<GetModelArtifactSignaturesResult> getModelArtifactSignatures(GetModelArtifactSignaturesArgs args, InvokeOutputOptions options)
fn::invoke:
function: oci:DataScience/getModelArtifactSignatures:getModelArtifactSignatures
arguments:
# arguments dictionarydata "oci_data_science_get_model_artifact_signatures" "name" {
# arguments
}The following arguments are supported:
- Compartment
Id string - Filter results by the OCID of the compartment.
- Model
Id string - The OCID of the model.
- Digest string
- The digest of the model artifact.
- Display
Name string - Filter results by its user-friendly name.
- Filters
List<Get
Model Artifact Signatures Filter> - State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- Compartment
Id string - Filter results by the OCID of the compartment.
- Model
Id string - The OCID of the model.
- Digest string
- The digest of the model artifact.
- Display
Name string - Filter results by its user-friendly name.
- Filters
[]Get
Model Artifact Signatures Filter - State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- compartment_
id string - Filter results by the OCID of the compartment.
- model_
id string - The OCID of the model.
- digest string
- The digest of the model artifact.
- display_
name string - Filter results by its user-friendly name.
- filters list(object)
- state string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- compartment
Id String - Filter results by the OCID of the compartment.
- model
Id String - The OCID of the model.
- digest String
- The digest of the model artifact.
- display
Name String - Filter results by its user-friendly name.
- filters
List<Get
Model Artifact Signatures Filter> - state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- compartment
Id string - Filter results by the OCID of the compartment.
- model
Id string - The OCID of the model.
- digest string
- The digest of the model artifact.
- display
Name string - Filter results by its user-friendly name.
- filters
Get
Model Artifact Signatures Filter[] - state string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- compartment_
id str - Filter results by the OCID of the compartment.
- model_
id str - The OCID of the model.
- digest str
- The digest of the model artifact.
- display_
name str - Filter results by its user-friendly name.
- filters
Sequence[Get
Model Artifact Signatures Filter] - state str
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- compartment
Id String - Filter results by the OCID of the compartment.
- model
Id String - The OCID of the model.
- digest String
- The digest of the model artifact.
- display
Name String - Filter results by its user-friendly name.
- filters List<Property Map>
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
getModelArtifactSignatures Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment containing the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Model
Artifact List<GetSignatures Model Artifact Signatures Model Artifact Signature> - The list of model_artifact_signatures.
- Model
Id string - The OCID of the model whose artifact has to be signed.
- Digest string
- Base64 encoded string representing the model artifact digest.
- Display
Name string - A user-friendly display name for the resource.
- Filters
List<Get
Model Artifact Signatures Filter> - State string
- The lifecycle state of the model artifact signature
- Compartment
Id string - The OCID of the compartment containing the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Model
Artifact []GetSignatures Model Artifact Signatures Model Artifact Signature - The list of model_artifact_signatures.
- Model
Id string - The OCID of the model whose artifact has to be signed.
- Digest string
- Base64 encoded string representing the model artifact digest.
- Display
Name string - A user-friendly display name for the resource.
- Filters
[]Get
Model Artifact Signatures Filter - State string
- The lifecycle state of the model artifact signature
- compartment_
id string - The OCID of the compartment containing the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- model_
artifact_ list(object)signatures - The list of model_artifact_signatures.
- model_
id string - The OCID of the model whose artifact has to be signed.
- digest string
- Base64 encoded string representing the model artifact digest.
- display_
name string - A user-friendly display name for the resource.
- filters list(object)
- state string
- The lifecycle state of the model artifact signature
- compartment
Id String - The OCID of the compartment containing the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- model
Artifact List<GetSignatures Model Artifact Signatures Model Artifact Signature> - The list of model_artifact_signatures.
- model
Id String - The OCID of the model whose artifact has to be signed.
- digest String
- Base64 encoded string representing the model artifact digest.
- display
Name String - A user-friendly display name for the resource.
- filters
List<Get
Model Artifact Signatures Filter> - state String
- The lifecycle state of the model artifact signature
- compartment
Id string - The OCID of the compartment containing the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- model
Artifact GetSignatures Model Artifact Signatures Model Artifact Signature[] - The list of model_artifact_signatures.
- model
Id string - The OCID of the model whose artifact has to be signed.
- digest string
- Base64 encoded string representing the model artifact digest.
- display
Name string - A user-friendly display name for the resource.
- filters
Get
Model Artifact Signatures Filter[] - state string
- The lifecycle state of the model artifact signature
- compartment_
id str - The OCID of the compartment containing the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- model_
artifact_ Sequence[Getsignatures Model Artifact Signatures Model Artifact Signature] - The list of model_artifact_signatures.
- model_
id str - The OCID of the model whose artifact has to be signed.
- digest str
- Base64 encoded string representing the model artifact digest.
- display_
name str - A user-friendly display name for the resource.
- filters
Sequence[Get
Model Artifact Signatures Filter] - state str
- The lifecycle state of the model artifact signature
- compartment
Id String - The OCID of the compartment containing the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- model
Artifact List<Property Map>Signatures - The list of model_artifact_signatures.
- model
Id String - The OCID of the model whose artifact has to be signed.
- digest String
- Base64 encoded string representing the model artifact digest.
- display
Name String - A user-friendly display name for the resource.
- filters List<Property Map>
- state String
- The lifecycle state of the model artifact signature
Supporting Types
GetModelArtifactSignaturesFilter
GetModelArtifactSignaturesModelArtifactSignature
- Compartment
Id string - Filter results by the OCID of the compartment.
- 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
- The digest of the model artifact.
- Display
Name string - Filter results by its user-friendly name.
- 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.
- Signature string
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- Signing
Algorithm string - The algorithm used for signing.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- 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
- Compartment
Id string - Filter results by the OCID of the compartment.
- 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
- The digest of the model artifact.
- Display
Name string - Filter results by its user-friendly name.
- 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.
- Signature string
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- Signing
Algorithm string - The algorithm used for signing.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- 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
- compartment_
id string - Filter results by the OCID of the compartment.
- 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
- The digest of the model artifact.
- display_
name string - Filter results by its user-friendly name.
- 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.
- signature string
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- signing_
algorithm string - The algorithm used for signing.
- state string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- 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
- compartment
Id String - Filter results by the OCID of the compartment.
- 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
- The digest of the model artifact.
- display
Name String - Filter results by its user-friendly name.
- 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.
- signature String
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- signing
Algorithm String - The algorithm used for signing.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- 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
- compartment
Id string - Filter results by the OCID of the compartment.
- 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
- The digest of the model artifact.
- display
Name string - Filter results by its user-friendly name.
- {[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.
- signature string
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- signing
Algorithm string - The algorithm used for signing.
- state string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- {[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
- compartment_
id str - Filter results by the OCID of the compartment.
- 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
- The digest of the model artifact.
- display_
name str - Filter results by its user-friendly name.
- 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.
- signature str
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- signing_
algorithm str - The algorithm used for signing.
- state str
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- 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
- compartment
Id String - Filter results by the OCID of the compartment.
- 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
- The digest of the model artifact.
- display
Name String - Filter results by its user-friendly name.
- 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.
- signature String
- The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
- signing
Algorithm String - The algorithm used for signing.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- 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