Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.DataScience.getMlApplicationInstance
Explore with Pulumi AI
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 dictionaryThe following arguments are supported:
- Ml
Application stringInstance Id  - unique MlApplicationInstance identifier
 
- Ml
Application stringInstance Id  - unique MlApplicationInstance identifier
 
- ml
Application StringInstance Id  - unique MlApplicationInstance identifier
 
- ml
Application stringInstance Id  - unique MlApplicationInstance identifier
 
- ml_
application_ strinstance_ id  - unique MlApplicationInstance identifier
 
- ml
Application StringInstance Id  - unique MlApplicationInstance identifier
 
getMlApplicationInstance Result
The following output properties are available:
- Auth
Configurations List<GetMl Application Instance Auth Configuration>  - AuthN/Z configuration for online prediction
 - Compartment
Id string - The OCID of the compartment where the MlApplicationInstance is created.
 - Configurations
List<Get
Ml Application Instance Configuration>  - Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
 - Dictionary<string, string>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: 
{"Operations.CostCenter": "42"} - Display
Name string - The name of MlApplicationInstance. System will generate displayName when not provided during creation.
 - 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
 - Is
Enabled bool - States whether the MlApplicationInstance is supposed to be in ACTIVE lifecycle state.
 - Lifecycle
Details 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.
 - Lifecycle
Substate 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.
 - Ml
Application stringId  - The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
 - Ml
Application stringImplementation Id  - The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
 - Ml
Application stringImplementation Name  - The name of Ml Application Implementation (based on mlApplicationImplementationId)
 - Ml
Application stringInstance Id  - Ml
Application stringName  - The name of ML Application (based on mlApplicationId).
 - Prediction
Endpoint List<GetDetails Ml Application Instance Prediction Endpoint Detail>  - Prediction endpoint related information.
 - State string
 - The current state of the MlApplicationInstance.
 - 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 time the the MlApplication was created. An RFC3339 formatted datetime string
 - Time
Updated string - Time of last MlApplicationInstance update in the format defined by RFC 3339.
 
- Auth
Configurations []GetMl Application Instance Auth Configuration  - AuthN/Z configuration for online prediction
 - Compartment
Id string - The OCID of the compartment where the MlApplicationInstance is created.
 - Configurations
[]Get
Ml Application Instance Configuration  - Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
 - map[string]string
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: 
{"Operations.CostCenter": "42"} - Display
Name string - The name of MlApplicationInstance. System will generate displayName when not provided during creation.
 - 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
 - Is
Enabled bool - States whether the MlApplicationInstance is supposed to be in ACTIVE lifecycle state.
 - Lifecycle
Details 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.
 - Lifecycle
Substate 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.
 - Ml
Application stringId  - The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
 - Ml
Application stringImplementation Id  - The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
 - Ml
Application stringImplementation Name  - The name of Ml Application Implementation (based on mlApplicationImplementationId)
 - Ml
Application stringInstance Id  - Ml
Application stringName  - The name of ML Application (based on mlApplicationId).
 - Prediction
Endpoint []GetDetails Ml Application Instance Prediction Endpoint Detail  - Prediction endpoint related information.
 - State string
 - The current state of the MlApplicationInstance.
 - 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 time the the MlApplication was created. An RFC3339 formatted datetime string
 - Time
Updated string - Time of last MlApplicationInstance update in the format defined by RFC 3339.
 
- auth
Configurations List<GetMl Application Instance Auth Configuration>  - AuthN/Z configuration for online prediction
 - compartment
Id String - The OCID of the compartment where the MlApplicationInstance is created.
 - configurations
List<Get
Ml Application Instance Configuration>  - Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
 - Map<String,String>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: 
{"Operations.CostCenter": "42"} - display
Name String - The name of MlApplicationInstance. System will generate displayName when not provided during creation.
 - 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
 - is
Enabled Boolean - States whether the MlApplicationInstance is supposed to be in ACTIVE lifecycle state.
 - lifecycle
Details 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.
 - lifecycle
Substate 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.
 - ml
Application StringId  - The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
 - ml
Application StringImplementation Id  - The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
 - ml
Application StringImplementation Name  - The name of Ml Application Implementation (based on mlApplicationImplementationId)
 - ml
Application StringInstance Id  - ml
Application StringName  - The name of ML Application (based on mlApplicationId).
 - prediction
Endpoint List<GetDetails Ml Application Instance Prediction Endpoint Detail>  - Prediction endpoint related information.
 - state String
 - The current state of the MlApplicationInstance.
 - 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 time the the MlApplication was created. An RFC3339 formatted datetime string
 - time
Updated String - Time of last MlApplicationInstance update in the format defined by RFC 3339.
 
- auth
Configurations GetMl Application Instance Auth Configuration[]  - AuthN/Z configuration for online prediction
 - compartment
Id string - The OCID of the compartment where the MlApplicationInstance is created.
 - configurations
Get
Ml Application Instance Configuration[]  - Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
 - {[key: string]: string}
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: 
{"Operations.CostCenter": "42"} - display
Name string - The name of MlApplicationInstance. System will generate displayName when not provided during creation.
 - {[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
 - is
Enabled boolean - States whether the MlApplicationInstance is supposed to be in ACTIVE lifecycle state.
 - lifecycle
Details 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.
 - lifecycle
Substate 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.
 - ml
Application stringId  - The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
 - ml
Application stringImplementation Id  - The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
 - ml
Application stringImplementation Name  - The name of Ml Application Implementation (based on mlApplicationImplementationId)
 - ml
Application stringInstance Id  - ml
Application stringName  - The name of ML Application (based on mlApplicationId).
 - prediction
Endpoint GetDetails Ml Application Instance Prediction Endpoint Detail[]  - Prediction endpoint related information.
 - state string
 - The current state of the MlApplicationInstance.
 - {[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 time the the MlApplication was created. An RFC3339 formatted datetime string
 - time
Updated string - Time of last MlApplicationInstance update in the format defined by RFC 3339.
 
- auth_
configurations Sequence[datascience.Get Ml Application Instance Auth Configuration]  - AuthN/Z configuration for online prediction
 - compartment_
id str - The OCID of the compartment where the MlApplicationInstance is created.
 - configurations
Sequence[datascience.
Get Ml Application Instance Configuration]  - Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
 - 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.
 - 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_ strid  - The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
 - ml_
application_ strimplementation_ id  - The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
 - ml_
application_ strimplementation_ name  - The name of Ml Application Implementation (based on mlApplicationImplementationId)
 - ml_
application_ strinstance_ id  - ml_
application_ strname  - The name of ML Application (based on mlApplicationId).
 - prediction_
endpoint_ Sequence[datascience.details Get Ml Application Instance Prediction Endpoint Detail]  - Prediction endpoint related information.
 - state str
 - The current state of the MlApplicationInstance.
 - 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.
 
- auth
Configurations List<Property Map> - AuthN/Z configuration for online prediction
 - compartment
Id 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.
 - Map<String>
 - Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: 
{"Operations.CostCenter": "42"} - display
Name String - The name of MlApplicationInstance. System will generate displayName when not provided during creation.
 - 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
 - is
Enabled Boolean - States whether the MlApplicationInstance is supposed to be in ACTIVE lifecycle state.
 - lifecycle
Details 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.
 - lifecycle
Substate 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.
 - ml
Application StringId  - The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
 - ml
Application StringImplementation Id  - The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
 - ml
Application StringImplementation Name  - The name of Ml Application Implementation (based on mlApplicationImplementationId)
 - ml
Application StringInstance Id  - ml
Application StringName  - The name of ML Application (based on mlApplicationId).
 - prediction
Endpoint List<Property Map>Details  - Prediction endpoint related information.
 - state String
 - The current state of the MlApplicationInstance.
 - 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 time the the MlApplication was created. An RFC3339 formatted datetime string
 - time
Updated String - Time of last MlApplicationInstance update in the format defined by RFC 3339.
 
Supporting Types
GetMlApplicationInstanceAuthConfiguration     
- Application
Name string - Name of the IDCS application
 - Domain
Id string - Identity Domain OCID
 - Type string
 - Type of AuthN/Z
 
- Application
Name string - Name of the IDCS application
 - Domain
Id string - Identity Domain OCID
 - Type string
 - Type of AuthN/Z
 
- application
Name String - Name of the IDCS application
 - domain
Id String - Identity Domain OCID
 - type String
 - Type of AuthN/Z
 
- application
Name string - Name of the IDCS application
 - domain
Id 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
 
- application
Name String - Name of the IDCS application
 - domain
Id String - Identity Domain OCID
 - type String
 - Type of AuthN/Z
 
GetMlApplicationInstanceConfiguration    
GetMlApplicationInstancePredictionEndpointDetail      
- Base
Prediction stringUri  - Base URI of prediction router.
 - Prediction
Uris List<GetMl Application Instance Prediction Endpoint Detail Prediction Uri>  - Array of all prediction URIs per use-case.
 
- Base
Prediction stringUri  - Base URI of prediction router.
 - Prediction
Uris []GetMl Application Instance Prediction Endpoint Detail Prediction Uri  - Array of all prediction URIs per use-case.
 
- base
Prediction StringUri  - Base URI of prediction router.
 - prediction
Uris List<GetMl Application Instance Prediction Endpoint Detail Prediction Uri>  - Array of all prediction URIs per use-case.
 
- base
Prediction stringUri  - Base URI of prediction router.
 - prediction
Uris GetMl Application Instance Prediction Endpoint Detail Prediction Uri[]  - Array of all prediction URIs per use-case.
 
- base_
prediction_ struri  - Base URI of prediction router.
 - prediction_
uris Sequence[datascience.Get Ml Application Instance Prediction Endpoint Detail Prediction Uri]  - Array of all prediction URIs per use-case.
 
- base
Prediction StringUri  - Base URI of prediction router.
 - prediction
Uris List<Property Map> - Array of all prediction URIs per use-case.
 
GetMlApplicationInstancePredictionEndpointDetailPredictionUri        
Package Details
- Repository
 - oci pulumi/pulumi-oci
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
ociTerraform Provider.