1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataScience
  5. getMlApplicationInstance
Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

oci.DataScience.getMlApplicationInstance

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

    This data source provides details about a specific Ml Application Instance resource in Oracle Cloud Infrastructure Data Science service.

    Gets a MlApplicationInstance by identifier

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMlApplicationInstance = oci.DataScience.getMlApplicationInstance({
        mlApplicationInstanceId: testMlApplicationInstanceOciDatascienceMlApplicationInstance.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_ml_application_instance = oci.DataScience.get_ml_application_instance(ml_application_instance_id=test_ml_application_instance_oci_datascience_ml_application_instance["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/datascience"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datascience.GetMlApplicationInstance(ctx, &datascience.GetMlApplicationInstanceArgs{
    			MlApplicationInstanceId: testMlApplicationInstanceOciDatascienceMlApplicationInstance.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 testMlApplicationInstance = Oci.DataScience.GetMlApplicationInstance.Invoke(new()
        {
            MlApplicationInstanceId = testMlApplicationInstanceOciDatascienceMlApplicationInstance.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.GetMlApplicationInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    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 testMlApplicationInstance = DataScienceFunctions.getMlApplicationInstance(GetMlApplicationInstanceArgs.builder()
                .mlApplicationInstanceId(testMlApplicationInstanceOciDatascienceMlApplicationInstance.id())
                .build());
    
        }
    }
    
    variables:
      testMlApplicationInstance:
        fn::invoke:
          function: oci:DataScience:getMlApplicationInstance
          arguments:
            mlApplicationInstanceId: ${testMlApplicationInstanceOciDatascienceMlApplicationInstance.id}
    

    Using getMlApplicationInstance

    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 getMlApplicationInstance(args: GetMlApplicationInstanceArgs, opts?: InvokeOptions): Promise<GetMlApplicationInstanceResult>
    function getMlApplicationInstanceOutput(args: GetMlApplicationInstanceOutputArgs, opts?: InvokeOptions): Output<GetMlApplicationInstanceResult>
    def get_ml_application_instance(ml_application_instance_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetMlApplicationInstanceResult
    def get_ml_application_instance_output(ml_application_instance_id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetMlApplicationInstanceResult]
    func GetMlApplicationInstance(ctx *Context, args *GetMlApplicationInstanceArgs, opts ...InvokeOption) (*GetMlApplicationInstanceResult, error)
    func GetMlApplicationInstanceOutput(ctx *Context, args *GetMlApplicationInstanceOutputArgs, opts ...InvokeOption) GetMlApplicationInstanceResultOutput

    > Note: This function is named GetMlApplicationInstance in the Go SDK.

    public static class GetMlApplicationInstance 
    {
        public static Task<GetMlApplicationInstanceResult> InvokeAsync(GetMlApplicationInstanceArgs args, InvokeOptions? opts = null)
        public static Output<GetMlApplicationInstanceResult> Invoke(GetMlApplicationInstanceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMlApplicationInstanceResult> getMlApplicationInstance(GetMlApplicationInstanceArgs args, InvokeOptions options)
    public static Output<GetMlApplicationInstanceResult> getMlApplicationInstance(GetMlApplicationInstanceArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:DataScience/getMlApplicationInstance:getMlApplicationInstance
      arguments:
        # arguments dictionary

    The following arguments are supported:

    MlApplicationInstanceId string
    unique MlApplicationInstance identifier
    MlApplicationInstanceId string
    unique MlApplicationInstance identifier
    mlApplicationInstanceId String
    unique MlApplicationInstance identifier
    mlApplicationInstanceId string
    unique MlApplicationInstance identifier
    ml_application_instance_id str
    unique MlApplicationInstance identifier
    mlApplicationInstanceId String
    unique MlApplicationInstance identifier

    getMlApplicationInstance Result

    The following output properties are available:

    AuthConfigurations List<GetMlApplicationInstanceAuthConfiguration>
    AuthN/Z configuration for online prediction
    CompartmentId string
    The OCID of the compartment where the MlApplicationInstance is created.
    Configurations List<GetMlApplicationInstanceConfiguration>
    Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    The name of MlApplicationInstance. System will generate displayName when not provided during creation.
    FreeformTags 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 MlApplicationInstance. Unique identifier that is immutable after creation
    IsEnabled bool
    States whether the MlApplicationInstance is supposed to be in ACTIVE lifecycle state.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    LifecycleSubstate string
    The current substate of the MlApplicationInstance. The substate has MlApplicationInstance specific values in comparison with lifecycleState which has standard values common for all Oracle Cloud Infrastructure resources. The NEEDS_ATTENTION and FAILED substates are deprecated in favor of (NON_)?RECOVERABLE_(PROVIDER|SERVICE)_ISSUE and will be removed in next release.
    MlApplicationId string
    The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
    MlApplicationImplementationId string
    The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
    MlApplicationImplementationName string
    The name of Ml Application Implementation (based on mlApplicationImplementationId)
    MlApplicationInstanceId string
    MlApplicationName string
    The name of ML Application (based on mlApplicationId).
    PredictionEndpointDetails List<GetMlApplicationInstancePredictionEndpointDetail>
    Prediction endpoint related information.
    State string
    The current state of the MlApplicationInstance.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the the MlApplication was created. An RFC3339 formatted datetime string
    TimeUpdated string
    Time of last MlApplicationInstance update in the format defined by RFC 3339.
    AuthConfigurations []GetMlApplicationInstanceAuthConfiguration
    AuthN/Z configuration for online prediction
    CompartmentId string
    The OCID of the compartment where the MlApplicationInstance is created.
    Configurations []GetMlApplicationInstanceConfiguration
    Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    The name of MlApplicationInstance. System will generate displayName when not provided during creation.
    FreeformTags 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 MlApplicationInstance. Unique identifier that is immutable after creation
    IsEnabled bool
    States whether the MlApplicationInstance is supposed to be in ACTIVE lifecycle state.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    LifecycleSubstate string
    The current substate of the MlApplicationInstance. The substate has MlApplicationInstance specific values in comparison with lifecycleState which has standard values common for all Oracle Cloud Infrastructure resources. The NEEDS_ATTENTION and FAILED substates are deprecated in favor of (NON_)?RECOVERABLE_(PROVIDER|SERVICE)_ISSUE and will be removed in next release.
    MlApplicationId string
    The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
    MlApplicationImplementationId string
    The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
    MlApplicationImplementationName string
    The name of Ml Application Implementation (based on mlApplicationImplementationId)
    MlApplicationInstanceId string
    MlApplicationName string
    The name of ML Application (based on mlApplicationId).
    PredictionEndpointDetails []GetMlApplicationInstancePredictionEndpointDetail
    Prediction endpoint related information.
    State string
    The current state of the MlApplicationInstance.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the the MlApplication was created. An RFC3339 formatted datetime string
    TimeUpdated string
    Time of last MlApplicationInstance update in the format defined by RFC 3339.
    authConfigurations List<GetMlApplicationInstanceAuthConfiguration>
    AuthN/Z configuration for online prediction
    compartmentId String
    The OCID of the compartment where the MlApplicationInstance is created.
    configurations List<GetMlApplicationInstanceConfiguration>
    Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    The name of MlApplicationInstance. System will generate displayName when not provided during creation.
    freeformTags 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 MlApplicationInstance. Unique identifier that is immutable after creation
    isEnabled Boolean
    States whether the MlApplicationInstance is supposed to be in ACTIVE lifecycle state.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    lifecycleSubstate String
    The current substate of the MlApplicationInstance. The substate has MlApplicationInstance specific values in comparison with lifecycleState which has standard values common for all Oracle Cloud Infrastructure resources. The NEEDS_ATTENTION and FAILED substates are deprecated in favor of (NON_)?RECOVERABLE_(PROVIDER|SERVICE)_ISSUE and will be removed in next release.
    mlApplicationId String
    The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
    mlApplicationImplementationId String
    The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
    mlApplicationImplementationName String
    The name of Ml Application Implementation (based on mlApplicationImplementationId)
    mlApplicationInstanceId String
    mlApplicationName String
    The name of ML Application (based on mlApplicationId).
    predictionEndpointDetails List<GetMlApplicationInstancePredictionEndpointDetail>
    Prediction endpoint related information.
    state String
    The current state of the MlApplicationInstance.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the the MlApplication was created. An RFC3339 formatted datetime string
    timeUpdated String
    Time of last MlApplicationInstance update in the format defined by RFC 3339.
    authConfigurations GetMlApplicationInstanceAuthConfiguration[]
    AuthN/Z configuration for online prediction
    compartmentId string
    The OCID of the compartment where the MlApplicationInstance is created.
    configurations GetMlApplicationInstanceConfiguration[]
    Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    The name of MlApplicationInstance. System will generate displayName when not provided during creation.
    freeformTags {[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 MlApplicationInstance. Unique identifier that is immutable after creation
    isEnabled boolean
    States whether the MlApplicationInstance is supposed to be in ACTIVE lifecycle state.
    lifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    lifecycleSubstate string
    The current substate of the MlApplicationInstance. The substate has MlApplicationInstance specific values in comparison with lifecycleState which has standard values common for all Oracle Cloud Infrastructure resources. The NEEDS_ATTENTION and FAILED substates are deprecated in favor of (NON_)?RECOVERABLE_(PROVIDER|SERVICE)_ISSUE and will be removed in next release.
    mlApplicationId string
    The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
    mlApplicationImplementationId string
    The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
    mlApplicationImplementationName string
    The name of Ml Application Implementation (based on mlApplicationImplementationId)
    mlApplicationInstanceId string
    mlApplicationName string
    The name of ML Application (based on mlApplicationId).
    predictionEndpointDetails GetMlApplicationInstancePredictionEndpointDetail[]
    Prediction endpoint related information.
    state string
    The current state of the MlApplicationInstance.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the the MlApplication was created. An RFC3339 formatted datetime string
    timeUpdated string
    Time of last MlApplicationInstance update in the format defined by RFC 3339.
    auth_configurations Sequence[datascience.GetMlApplicationInstanceAuthConfiguration]
    AuthN/Z configuration for online prediction
    compartment_id str
    The OCID of the compartment where the MlApplicationInstance is created.
    configurations Sequence[datascience.GetMlApplicationInstanceConfiguration]
    Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    The name of MlApplicationInstance. System will generate displayName when not provided during creation.
    freeform_tags 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 MlApplicationInstance. Unique identifier that is immutable after creation
    is_enabled bool
    States whether the MlApplicationInstance is supposed to be in ACTIVE lifecycle state.
    lifecycle_details str
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    lifecycle_substate str
    The current substate of the MlApplicationInstance. The substate has MlApplicationInstance specific values in comparison with lifecycleState which has standard values common for all Oracle Cloud Infrastructure resources. The NEEDS_ATTENTION and FAILED substates are deprecated in favor of (NON_)?RECOVERABLE_(PROVIDER|SERVICE)_ISSUE and will be removed in next release.
    ml_application_id str
    The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
    ml_application_implementation_id str
    The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
    ml_application_implementation_name str
    The name of Ml Application Implementation (based on mlApplicationImplementationId)
    ml_application_instance_id str
    ml_application_name str
    The name of ML Application (based on mlApplicationId).
    prediction_endpoint_details Sequence[datascience.GetMlApplicationInstancePredictionEndpointDetail]
    Prediction endpoint related information.
    state str
    The current state of the MlApplicationInstance.
    system_tags 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 time the the MlApplication was created. An RFC3339 formatted datetime string
    time_updated str
    Time of last MlApplicationInstance update in the format defined by RFC 3339.
    authConfigurations List<Property Map>
    AuthN/Z configuration for online prediction
    compartmentId String
    The OCID of the compartment where the MlApplicationInstance is created.
    configurations List<Property Map>
    Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    The name of MlApplicationInstance. System will generate displayName when not provided during creation.
    freeformTags 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 MlApplicationInstance. Unique identifier that is immutable after creation
    isEnabled Boolean
    States whether the MlApplicationInstance is supposed to be in ACTIVE lifecycle state.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    lifecycleSubstate String
    The current substate of the MlApplicationInstance. The substate has MlApplicationInstance specific values in comparison with lifecycleState which has standard values common for all Oracle Cloud Infrastructure resources. The NEEDS_ATTENTION and FAILED substates are deprecated in favor of (NON_)?RECOVERABLE_(PROVIDER|SERVICE)_ISSUE and will be removed in next release.
    mlApplicationId String
    The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
    mlApplicationImplementationId String
    The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
    mlApplicationImplementationName String
    The name of Ml Application Implementation (based on mlApplicationImplementationId)
    mlApplicationInstanceId String
    mlApplicationName String
    The name of ML Application (based on mlApplicationId).
    predictionEndpointDetails List<Property Map>
    Prediction endpoint related information.
    state String
    The current state of the MlApplicationInstance.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the the MlApplication was created. An RFC3339 formatted datetime string
    timeUpdated String
    Time of last MlApplicationInstance update in the format defined by RFC 3339.

    Supporting Types

    GetMlApplicationInstanceAuthConfiguration

    ApplicationName string
    Name of the IDCS application
    DomainId string
    Identity Domain OCID
    Type string
    Type of AuthN/Z
    ApplicationName string
    Name of the IDCS application
    DomainId string
    Identity Domain OCID
    Type string
    Type of AuthN/Z
    applicationName String
    Name of the IDCS application
    domainId String
    Identity Domain OCID
    type String
    Type of AuthN/Z
    applicationName string
    Name of the IDCS application
    domainId string
    Identity Domain OCID
    type string
    Type of AuthN/Z
    application_name str
    Name of the IDCS application
    domain_id str
    Identity Domain OCID
    type str
    Type of AuthN/Z
    applicationName String
    Name of the IDCS application
    domainId String
    Identity Domain OCID
    type String
    Type of AuthN/Z

    GetMlApplicationInstanceConfiguration

    Key string
    Key of configuration property
    Value string
    Value of configuration property
    Key string
    Key of configuration property
    Value string
    Value of configuration property
    key String
    Key of configuration property
    value String
    Value of configuration property
    key string
    Key of configuration property
    value string
    Value of configuration property
    key str
    Key of configuration property
    value str
    Value of configuration property
    key String
    Key of configuration property
    value String
    Value of configuration property

    GetMlApplicationInstancePredictionEndpointDetail

    BasePredictionUri string
    Base URI of prediction router.
    PredictionUris List<GetMlApplicationInstancePredictionEndpointDetailPredictionUri>
    Array of all prediction URIs per use-case.
    BasePredictionUri string
    Base URI of prediction router.
    PredictionUris []GetMlApplicationInstancePredictionEndpointDetailPredictionUri
    Array of all prediction URIs per use-case.
    basePredictionUri String
    Base URI of prediction router.
    predictionUris List<GetMlApplicationInstancePredictionEndpointDetailPredictionUri>
    Array of all prediction URIs per use-case.
    basePredictionUri string
    Base URI of prediction router.
    predictionUris GetMlApplicationInstancePredictionEndpointDetailPredictionUri[]
    Array of all prediction URIs per use-case.
    basePredictionUri String
    Base URI of prediction router.
    predictionUris List<Property Map>
    Array of all prediction URIs per use-case.

    GetMlApplicationInstancePredictionEndpointDetailPredictionUri

    Uri string
    Prediction URI.
    UseCase string
    Prediction use-case.
    Uri string
    Prediction URI.
    UseCase string
    Prediction use-case.
    uri String
    Prediction URI.
    useCase String
    Prediction use-case.
    uri string
    Prediction URI.
    useCase string
    Prediction use-case.
    uri str
    Prediction URI.
    use_case str
    Prediction use-case.
    uri String
    Prediction URI.
    useCase String
    Prediction use-case.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi