Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 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 LookupMlApplicationInstance(ctx *Context, args *LookupMlApplicationInstanceArgs, opts ...InvokeOption) (*LookupMlApplicationInstanceResult, error)
func LookupMlApplicationInstanceOutput(ctx *Context, args *LookupMlApplicationInstanceOutputArgs, opts ...InvokeOption) LookupMlApplicationInstanceResultOutput> Note: This function is named LookupMlApplicationInstance 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:
- MlApplication stringInstance Id 
- unique MlApplicationInstance identifier
- MlApplication stringInstance Id 
- unique MlApplicationInstance identifier
- mlApplication StringInstance Id 
- unique MlApplicationInstance identifier
- mlApplication stringInstance Id 
- unique MlApplicationInstance identifier
- ml_application_ strinstance_ id 
- unique MlApplicationInstance identifier
- mlApplication StringInstance Id 
- unique MlApplicationInstance identifier
getMlApplicationInstance Result
The following output properties are available:
- AuthConfigurations List<GetMl Application Instance Auth Configuration> 
- AuthN/Z configuration for online prediction
- CompartmentId string
- The OCID of the compartment where the MlApplicationInstance is created.
- Configurations
List<GetMl 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"}
- DisplayName 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
- 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.
- MlApplication stringId 
- The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
- MlApplication stringImplementation Id 
- The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
- MlApplication stringImplementation Name 
- The name of Ml Application Implementation (based on mlApplicationImplementationId)
- MlApplication stringInstance Id 
- MlApplication stringName 
- The name of ML Application (based on mlApplicationId).
- PredictionEndpoint 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"}
- 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 []GetMl Application Instance Auth Configuration 
- AuthN/Z configuration for online prediction
- CompartmentId string
- The OCID of the compartment where the MlApplicationInstance is created.
- Configurations
[]GetMl 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"}
- DisplayName 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
- 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.
- MlApplication stringId 
- The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
- MlApplication stringImplementation Id 
- The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
- MlApplication stringImplementation Name 
- The name of Ml Application Implementation (based on mlApplicationImplementationId)
- MlApplication stringInstance Id 
- MlApplication stringName 
- The name of ML Application (based on mlApplicationId).
- PredictionEndpoint []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"}
- 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<GetMl Application Instance Auth Configuration> 
- AuthN/Z configuration for online prediction
- compartmentId String
- The OCID of the compartment where the MlApplicationInstance is created.
- configurations
List<GetMl 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"}
- displayName 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
- 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.
- mlApplication StringId 
- The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
- mlApplication StringImplementation Id 
- The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
- mlApplication StringImplementation Name 
- The name of Ml Application Implementation (based on mlApplicationImplementationId)
- mlApplication StringInstance Id 
- mlApplication StringName 
- The name of ML Application (based on mlApplicationId).
- predictionEndpoint 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"}
- 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 GetMl Application Instance Auth Configuration[] 
- AuthN/Z configuration for online prediction
- compartmentId string
- The OCID of the compartment where the MlApplicationInstance is created.
- configurations
GetMl 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"}
- displayName 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
- 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.
- mlApplication stringId 
- The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
- mlApplication stringImplementation Id 
- The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
- mlApplication stringImplementation Name 
- The name of Ml Application Implementation (based on mlApplicationImplementationId)
- mlApplication stringInstance Id 
- mlApplication stringName 
- The name of ML Application (based on mlApplicationId).
- predictionEndpoint 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"}
- 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[GetMl 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[GetMl 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[Getdetails 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.
- 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.
- 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.
- 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.
- mlApplication StringId 
- The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
- mlApplication StringImplementation Id 
- The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
- mlApplication StringImplementation Name 
- The name of Ml Application Implementation (based on mlApplicationImplementationId)
- mlApplication StringInstance Id 
- mlApplication StringName 
- The name of ML Application (based on mlApplicationId).
- predictionEndpoint 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"}
- 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    
GetMlApplicationInstancePredictionEndpointDetail      
- BasePrediction stringUri 
- Base URI of prediction router.
- PredictionUris List<GetMl Application Instance Prediction Endpoint Detail Prediction Uri> 
- Array of all prediction URIs per use-case.
- BasePrediction stringUri 
- Base URI of prediction router.
- PredictionUris []GetMl Application Instance Prediction Endpoint Detail Prediction Uri 
- Array of all prediction URIs per use-case.
- basePrediction StringUri 
- Base URI of prediction router.
- predictionUris List<GetMl Application Instance Prediction Endpoint Detail Prediction Uri> 
- Array of all prediction URIs per use-case.
- basePrediction stringUri 
- Base URI of prediction router.
- predictionUris 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[GetMl Application Instance Prediction Endpoint Detail Prediction Uri] 
- Array of all prediction URIs per use-case.
- basePrediction StringUri 
- Base URI of prediction router.
- predictionUris 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.