Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.DataScience.getMlApplication
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
This data source provides details about a specific Ml Application resource in Oracle Cloud Infrastructure Data Science service.
Gets a MlApplication by identifier
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMlApplication = oci.DataScience.getMlApplication({
mlApplicationId: testMlApplicationOciDatascienceMlApplication.id,
});
import pulumi
import pulumi_oci as oci
test_ml_application = oci.DataScience.get_ml_application(ml_application_id=test_ml_application_oci_datascience_ml_application["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/datascience"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datascience.GetMlApplication(ctx, &datascience.GetMlApplicationArgs{
MlApplicationId: testMlApplicationOciDatascienceMlApplication.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 testMlApplication = Oci.DataScience.GetMlApplication.Invoke(new()
{
MlApplicationId = testMlApplicationOciDatascienceMlApplication.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.GetMlApplicationArgs;
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 testMlApplication = DataScienceFunctions.getMlApplication(GetMlApplicationArgs.builder()
.mlApplicationId(testMlApplicationOciDatascienceMlApplication.id())
.build());
}
}
variables:
testMlApplication:
fn::invoke:
function: oci:DataScience:getMlApplication
arguments:
mlApplicationId: ${testMlApplicationOciDatascienceMlApplication.id}
Using getMlApplication
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 getMlApplication(args: GetMlApplicationArgs, opts?: InvokeOptions): Promise<GetMlApplicationResult>
function getMlApplicationOutput(args: GetMlApplicationOutputArgs, opts?: InvokeOptions): Output<GetMlApplicationResult>def get_ml_application(ml_application_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMlApplicationResult
def get_ml_application_output(ml_application_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMlApplicationResult]func LookupMlApplication(ctx *Context, args *LookupMlApplicationArgs, opts ...InvokeOption) (*LookupMlApplicationResult, error)
func LookupMlApplicationOutput(ctx *Context, args *LookupMlApplicationOutputArgs, opts ...InvokeOption) LookupMlApplicationResultOutput> Note: This function is named LookupMlApplication in the Go SDK.
public static class GetMlApplication
{
public static Task<GetMlApplicationResult> InvokeAsync(GetMlApplicationArgs args, InvokeOptions? opts = null)
public static Output<GetMlApplicationResult> Invoke(GetMlApplicationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMlApplicationResult> getMlApplication(GetMlApplicationArgs args, InvokeOptions options)
public static Output<GetMlApplicationResult> getMlApplication(GetMlApplicationArgs args, InvokeOptions options)
fn::invoke:
function: oci:DataScience/getMlApplication:getMlApplication
arguments:
# arguments dictionaryThe following arguments are supported:
- Ml
Application stringId - unique MlApplication identifier
- Ml
Application stringId - unique MlApplication identifier
- ml
Application StringId - unique MlApplication identifier
- ml
Application stringId - unique MlApplication identifier
- ml_
application_ strid - unique MlApplication identifier
- ml
Application StringId - unique MlApplication identifier
getMlApplication Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment where the MlApplication is created.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"} - Description string
- Optional description of the ML Application
- 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 MlApplication. Unique identifier that is immutable after creation.
- 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.
- Ml
Application stringId - Name string
- The name of MlApplication. It is unique in a given tenancy.
- State string
- The current state of the MlApplication.
- 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 - Creation time of MlApplication in the format defined by RFC 3339.
- Time
Updated string - Time of last MlApplication update in the format defined by RFC 3339.
- Compartment
Id string - The OCID of the compartment where the MlApplication is created.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"} - Description string
- Optional description of the ML Application
- 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 MlApplication. Unique identifier that is immutable after creation.
- 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.
- Ml
Application stringId - Name string
- The name of MlApplication. It is unique in a given tenancy.
- State string
- The current state of the MlApplication.
- 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 - Creation time of MlApplication in the format defined by RFC 3339.
- Time
Updated string - Time of last MlApplication update in the format defined by RFC 3339.
- compartment
Id String - The OCID of the compartment where the MlApplication is created.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"} - description String
- Optional description of the ML Application
- 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 MlApplication. Unique identifier that is immutable after creation.
- 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.
- ml
Application StringId - name String
- The name of MlApplication. It is unique in a given tenancy.
- state String
- The current state of the MlApplication.
- 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 - Creation time of MlApplication in the format defined by RFC 3339.
- time
Updated String - Time of last MlApplication update in the format defined by RFC 3339.
- compartment
Id string - The OCID of the compartment where the MlApplication is created.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"} - description string
- Optional description of the ML Application
- {[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 MlApplication. Unique identifier that is immutable after creation.
- 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.
- ml
Application stringId - name string
- The name of MlApplication. It is unique in a given tenancy.
- state string
- The current state of the MlApplication.
- {[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 - Creation time of MlApplication in the format defined by RFC 3339.
- time
Updated string - Time of last MlApplication update in the format defined by RFC 3339.
- compartment_
id str - The OCID of the compartment where the MlApplication is created.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"} - description str
- Optional description of the ML Application
- 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 MlApplication. Unique identifier that is immutable after creation.
- 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.
- ml_
application_ strid - name str
- The name of MlApplication. It is unique in a given tenancy.
- state str
- The current state of the MlApplication.
- 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 - Creation time of MlApplication in the format defined by RFC 3339.
- time_
updated str - Time of last MlApplication update in the format defined by RFC 3339.
- compartment
Id String - The OCID of the compartment where the MlApplication is created.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"Operations.CostCenter": "42"} - description String
- Optional description of the ML Application
- 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 MlApplication. Unique identifier that is immutable after creation.
- 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.
- ml
Application StringId - name String
- The name of MlApplication. It is unique in a given tenancy.
- state String
- The current state of the MlApplication.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - Creation time of MlApplication in the format defined by RFC 3339.
- time
Updated String - Time of last MlApplication update in the format defined by RFC 3339.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
