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

oci.DataScience.getMlApplication

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 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/v2/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 GetMlApplication(ctx *Context, args *GetMlApplicationArgs, opts ...InvokeOption) (*GetMlApplicationResult, error)
    func GetMlApplicationOutput(ctx *Context, args *GetMlApplicationOutputArgs, opts ...InvokeOption) GetMlApplicationResultOutput

    > Note: This function is named GetMlApplication 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 dictionary

    The following arguments are supported:

    MlApplicationId string
    unique MlApplication identifier
    MlApplicationId string
    unique MlApplication identifier
    mlApplicationId String
    unique MlApplication identifier
    mlApplicationId string
    unique MlApplication identifier
    ml_application_id str
    unique MlApplication identifier
    mlApplicationId String
    unique MlApplication identifier

    getMlApplication Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment where the MlApplication is created.
    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"}
    Description string
    Optional description of the ML Application
    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 MlApplication. Unique identifier that is immutable after creation.
    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.
    MlApplicationId string
    Name string
    The name of MlApplication. It is unique in a given tenancy.
    State string
    The current state of the MlApplication.
    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
    Creation time of MlApplication in the format defined by RFC 3339.
    TimeUpdated string
    Time of last MlApplication update in the format defined by RFC 3339.
    CompartmentId string
    The OCID of the compartment where the MlApplication is created.
    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"}
    Description string
    Optional description of the ML Application
    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 MlApplication. Unique identifier that is immutable after creation.
    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.
    MlApplicationId string
    Name string
    The name of MlApplication. It is unique in a given tenancy.
    State string
    The current state of the MlApplication.
    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
    Creation time of MlApplication in the format defined by RFC 3339.
    TimeUpdated string
    Time of last MlApplication update in the format defined by RFC 3339.
    compartmentId String
    The OCID of the compartment where the MlApplication is created.
    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"}
    description String
    Optional description of the ML Application
    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 MlApplication. Unique identifier that is immutable after creation.
    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.
    mlApplicationId String
    name String
    The name of MlApplication. It is unique in a given tenancy.
    state String
    The current state of the MlApplication.
    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
    Creation time of MlApplication in the format defined by RFC 3339.
    timeUpdated String
    Time of last MlApplication update in the format defined by RFC 3339.
    compartmentId string
    The OCID of the compartment where the MlApplication is created.
    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"}
    description string
    Optional description of the ML Application
    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 MlApplication. Unique identifier that is immutable after creation.
    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.
    mlApplicationId string
    name string
    The name of MlApplication. It is unique in a given tenancy.
    state string
    The current state of the MlApplication.
    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
    Creation time of MlApplication in the format defined by RFC 3339.
    timeUpdated 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.
    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"}
    description str
    Optional description of the ML Application
    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 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_id str
    name str
    The name of MlApplication. It is unique in a given tenancy.
    state str
    The current state of the MlApplication.
    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
    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.
    compartmentId String
    The OCID of the compartment where the MlApplication is created.
    definedTags 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
    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 MlApplication. Unique identifier that is immutable after creation.
    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.
    mlApplicationId String
    name String
    The name of MlApplication. It is unique in a given tenancy.
    state String
    The current state of the MlApplication.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Creation time of MlApplication in the format defined by RFC 3339.
    timeUpdated 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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi