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

oci.DataScience.MlApplicationInstance

Explore with Pulumi AI

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

    This resource provides the Ml Application Instance resource in Oracle Cloud Infrastructure Data Science service.

    Creates a new MlApplicationInstance.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    resources:
      testMlApplicationInstance:
        type: oci:DataScience:MlApplicationInstance
        name: test_ml_application_instance
        properties:
          compartmentId: ${compartmentId}
          mlApplicationId: ${testMlApplication.id}
          mlApplicationImplementationId: ${testMlApplicationImplementation.id}
          authConfiguration:
            type: ${mlApplicationInstanceAuthConfigurationType}
            accessToken: ${mlApplicationInstanceAuthConfigurationAccessToken}
            applicationName: ${testApplication.name}
            audience: ${mlApplicationInstanceAuthConfigurationAudience}
            domainId: ${testDomain.id}
            roleName: ${mlApplicationInstanceAuthConfigurationRoleName}
            scope: ${mlApplicationInstanceAuthConfigurationScope}
          configurations:
            - key: ${mlApplicationInstanceConfigurationKey}
              value: ${mlApplicationInstanceConfigurationValue}
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${mlApplicationInstanceDisplayName}
          freeformTags:
            Department: Finance
          isEnabled: ${mlApplicationInstanceIsEnabled}
    

    Create MlApplicationInstance Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MlApplicationInstance(name: string, args: MlApplicationInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def MlApplicationInstance(resource_name: str,
                              args: MlApplicationInstanceArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def MlApplicationInstance(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              compartment_id: Optional[str] = None,
                              ml_application_id: Optional[str] = None,
                              ml_application_implementation_id: Optional[str] = None,
                              auth_configuration: Optional[_datascience.MlApplicationInstanceAuthConfigurationArgs] = None,
                              configurations: Optional[Sequence[_datascience.MlApplicationInstanceConfigurationArgs]] = None,
                              defined_tags: Optional[Mapping[str, str]] = None,
                              display_name: Optional[str] = None,
                              freeform_tags: Optional[Mapping[str, str]] = None,
                              is_enabled: Optional[bool] = None)
    func NewMlApplicationInstance(ctx *Context, name string, args MlApplicationInstanceArgs, opts ...ResourceOption) (*MlApplicationInstance, error)
    public MlApplicationInstance(string name, MlApplicationInstanceArgs args, CustomResourceOptions? opts = null)
    public MlApplicationInstance(String name, MlApplicationInstanceArgs args)
    public MlApplicationInstance(String name, MlApplicationInstanceArgs args, CustomResourceOptions options)
    
    type: oci:DataScience:MlApplicationInstance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args MlApplicationInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MlApplicationInstanceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MlApplicationInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MlApplicationInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MlApplicationInstanceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var mlApplicationInstanceResource = new Oci.DataScience.MlApplicationInstance("mlApplicationInstanceResource", new()
    {
        CompartmentId = "string",
        MlApplicationId = "string",
        MlApplicationImplementationId = "string",
        AuthConfiguration = new Oci.DataScience.Inputs.MlApplicationInstanceAuthConfigurationArgs
        {
            Type = "string",
            ApplicationName = "string",
            DomainId = "string",
        },
        Configurations = new[]
        {
            new Oci.DataScience.Inputs.MlApplicationInstanceConfigurationArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        DefinedTags = 
        {
            { "string", "string" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        IsEnabled = false,
    });
    
    example, err := datascience.NewMlApplicationInstance(ctx, "mlApplicationInstanceResource", &datascience.MlApplicationInstanceArgs{
    	CompartmentId:                 pulumi.String("string"),
    	MlApplicationId:               pulumi.String("string"),
    	MlApplicationImplementationId: pulumi.String("string"),
    	AuthConfiguration: &datascience.MlApplicationInstanceAuthConfigurationArgs{
    		Type:            pulumi.String("string"),
    		ApplicationName: pulumi.String("string"),
    		DomainId:        pulumi.String("string"),
    	},
    	Configurations: datascience.MlApplicationInstanceConfigurationArray{
    		&datascience.MlApplicationInstanceConfigurationArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	IsEnabled: pulumi.Bool(false),
    })
    
    var mlApplicationInstanceResource = new MlApplicationInstance("mlApplicationInstanceResource", MlApplicationInstanceArgs.builder()
        .compartmentId("string")
        .mlApplicationId("string")
        .mlApplicationImplementationId("string")
        .authConfiguration(MlApplicationInstanceAuthConfigurationArgs.builder()
            .type("string")
            .applicationName("string")
            .domainId("string")
            .build())
        .configurations(MlApplicationInstanceConfigurationArgs.builder()
            .key("string")
            .value("string")
            .build())
        .definedTags(Map.of("string", "string"))
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .isEnabled(false)
        .build());
    
    ml_application_instance_resource = oci.data_science.MlApplicationInstance("mlApplicationInstanceResource",
        compartment_id="string",
        ml_application_id="string",
        ml_application_implementation_id="string",
        auth_configuration={
            "type": "string",
            "application_name": "string",
            "domain_id": "string",
        },
        configurations=[{
            "key": "string",
            "value": "string",
        }],
        defined_tags={
            "string": "string",
        },
        display_name="string",
        freeform_tags={
            "string": "string",
        },
        is_enabled=False)
    
    const mlApplicationInstanceResource = new oci.datascience.MlApplicationInstance("mlApplicationInstanceResource", {
        compartmentId: "string",
        mlApplicationId: "string",
        mlApplicationImplementationId: "string",
        authConfiguration: {
            type: "string",
            applicationName: "string",
            domainId: "string",
        },
        configurations: [{
            key: "string",
            value: "string",
        }],
        definedTags: {
            string: "string",
        },
        displayName: "string",
        freeformTags: {
            string: "string",
        },
        isEnabled: false,
    });
    
    type: oci:DataScience:MlApplicationInstance
    properties:
        authConfiguration:
            applicationName: string
            domainId: string
            type: string
        compartmentId: string
        configurations:
            - key: string
              value: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
        isEnabled: false
        mlApplicationId: string
        mlApplicationImplementationId: string
    

    MlApplicationInstance Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The MlApplicationInstance resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment where the MlApplicationInstance is created.
    MlApplicationId string
    The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
    MlApplicationImplementationId string

    (Updatable) The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    AuthConfiguration MlApplicationInstanceAuthConfiguration
    AuthN/Z configuration for online prediction
    Configurations List<MlApplicationInstanceConfiguration>
    (Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
    DefinedTags Dictionary<string, string>
    (Updatable) 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.
    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    IsEnabled bool
    (Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) lifecycle state.
    CompartmentId string
    (Updatable) The OCID of the compartment where the MlApplicationInstance is created.
    MlApplicationId string
    The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
    MlApplicationImplementationId string

    (Updatable) The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    AuthConfiguration MlApplicationInstanceAuthConfigurationArgs
    AuthN/Z configuration for online prediction
    Configurations []MlApplicationInstanceConfigurationArgs
    (Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
    DefinedTags map[string]string
    (Updatable) 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.
    FreeformTags map[string]string
    (Updatable) 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"}
    IsEnabled bool
    (Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) lifecycle state.
    compartmentId String
    (Updatable) The OCID of the compartment where the MlApplicationInstance is created.
    mlApplicationId String
    The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
    mlApplicationImplementationId String

    (Updatable) The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    authConfiguration MlApplicationInstanceAuthConfiguration
    AuthN/Z configuration for online prediction
    configurations List<MlApplicationInstanceConfiguration>
    (Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
    definedTags Map<String,String>
    (Updatable) 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.
    freeformTags Map<String,String>
    (Updatable) 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"}
    isEnabled Boolean
    (Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) lifecycle state.
    compartmentId string
    (Updatable) The OCID of the compartment where the MlApplicationInstance is created.
    mlApplicationId string
    The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
    mlApplicationImplementationId string

    (Updatable) The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    authConfiguration MlApplicationInstanceAuthConfiguration
    AuthN/Z configuration for online prediction
    configurations MlApplicationInstanceConfiguration[]
    (Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
    definedTags {[key: string]: string}
    (Updatable) 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.
    freeformTags {[key: string]: string}
    (Updatable) 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"}
    isEnabled boolean
    (Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) lifecycle state.
    compartment_id str
    (Updatable) The OCID of the compartment where the MlApplicationInstance is created.
    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

    (Updatable) The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    auth_configuration datascience.MlApplicationInstanceAuthConfigurationArgs
    AuthN/Z configuration for online prediction
    configurations Sequence[datascience.MlApplicationInstanceConfigurationArgs]
    (Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
    defined_tags Mapping[str, str]
    (Updatable) 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.
    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    is_enabled bool
    (Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) lifecycle state.
    compartmentId String
    (Updatable) The OCID of the compartment where the MlApplicationInstance is created.
    mlApplicationId String
    The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID.
    mlApplicationImplementationId String

    (Updatable) The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    authConfiguration Property Map
    AuthN/Z configuration for online prediction
    configurations List<Property Map>
    (Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
    definedTags Map<String>
    (Updatable) 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.
    freeformTags Map<String>
    (Updatable) 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"}
    isEnabled Boolean
    (Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) lifecycle state.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MlApplicationInstance resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    MlApplicationImplementationName string
    The name of Ml Application Implementation (based on mlApplicationImplementationId)
    MlApplicationName string
    The name of ML Application (based on mlApplicationId).
    PredictionEndpointDetails List<MlApplicationInstancePredictionEndpointDetail>
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    MlApplicationImplementationName string
    The name of Ml Application Implementation (based on mlApplicationImplementationId)
    MlApplicationName string
    The name of ML Application (based on mlApplicationId).
    PredictionEndpointDetails []MlApplicationInstancePredictionEndpointDetail
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    mlApplicationImplementationName String
    The name of Ml Application Implementation (based on mlApplicationImplementationId)
    mlApplicationName String
    The name of ML Application (based on mlApplicationId).
    predictionEndpointDetails List<MlApplicationInstancePredictionEndpointDetail>
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    mlApplicationImplementationName string
    The name of Ml Application Implementation (based on mlApplicationImplementationId)
    mlApplicationName string
    The name of ML Application (based on mlApplicationId).
    predictionEndpointDetails MlApplicationInstancePredictionEndpointDetail[]
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    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_implementation_name str
    The name of Ml Application Implementation (based on mlApplicationImplementationId)
    ml_application_name str
    The name of ML Application (based on mlApplicationId).
    prediction_endpoint_details Sequence[datascience.MlApplicationInstancePredictionEndpointDetail]
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    mlApplicationImplementationName String
    The name of Ml Application Implementation (based on mlApplicationImplementationId)
    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.

    Look up Existing MlApplicationInstance Resource

    Get an existing MlApplicationInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: MlApplicationInstanceState, opts?: CustomResourceOptions): MlApplicationInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auth_configuration: Optional[_datascience.MlApplicationInstanceAuthConfigurationArgs] = None,
            compartment_id: Optional[str] = None,
            configurations: Optional[Sequence[_datascience.MlApplicationInstanceConfigurationArgs]] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            is_enabled: Optional[bool] = None,
            lifecycle_details: Optional[str] = None,
            lifecycle_substate: Optional[str] = None,
            ml_application_id: Optional[str] = None,
            ml_application_implementation_id: Optional[str] = None,
            ml_application_implementation_name: Optional[str] = None,
            ml_application_name: Optional[str] = None,
            prediction_endpoint_details: Optional[Sequence[_datascience.MlApplicationInstancePredictionEndpointDetailArgs]] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> MlApplicationInstance
    func GetMlApplicationInstance(ctx *Context, name string, id IDInput, state *MlApplicationInstanceState, opts ...ResourceOption) (*MlApplicationInstance, error)
    public static MlApplicationInstance Get(string name, Input<string> id, MlApplicationInstanceState? state, CustomResourceOptions? opts = null)
    public static MlApplicationInstance get(String name, Output<String> id, MlApplicationInstanceState state, CustomResourceOptions options)
    resources:  _:    type: oci:DataScience:MlApplicationInstance    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AuthConfiguration MlApplicationInstanceAuthConfiguration
    AuthN/Z configuration for online prediction
    CompartmentId string
    (Updatable) The OCID of the compartment where the MlApplicationInstance is created.
    Configurations List<MlApplicationInstanceConfiguration>
    (Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
    DefinedTags Dictionary<string, string>
    (Updatable) 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.
    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    IsEnabled bool
    (Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) 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

    (Updatable) The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    MlApplicationImplementationName string
    The name of Ml Application Implementation (based on mlApplicationImplementationId)
    MlApplicationName string
    The name of ML Application (based on mlApplicationId).
    PredictionEndpointDetails List<MlApplicationInstancePredictionEndpointDetail>
    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.
    AuthConfiguration MlApplicationInstanceAuthConfigurationArgs
    AuthN/Z configuration for online prediction
    CompartmentId string
    (Updatable) The OCID of the compartment where the MlApplicationInstance is created.
    Configurations []MlApplicationInstanceConfigurationArgs
    (Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
    DefinedTags map[string]string
    (Updatable) 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.
    FreeformTags map[string]string
    (Updatable) 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"}
    IsEnabled bool
    (Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) 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

    (Updatable) The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    MlApplicationImplementationName string
    The name of Ml Application Implementation (based on mlApplicationImplementationId)
    MlApplicationName string
    The name of ML Application (based on mlApplicationId).
    PredictionEndpointDetails []MlApplicationInstancePredictionEndpointDetailArgs
    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.
    authConfiguration MlApplicationInstanceAuthConfiguration
    AuthN/Z configuration for online prediction
    compartmentId String
    (Updatable) The OCID of the compartment where the MlApplicationInstance is created.
    configurations List<MlApplicationInstanceConfiguration>
    (Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
    definedTags Map<String,String>
    (Updatable) 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.
    freeformTags Map<String,String>
    (Updatable) 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"}
    isEnabled Boolean
    (Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) 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

    (Updatable) The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    mlApplicationImplementationName String
    The name of Ml Application Implementation (based on mlApplicationImplementationId)
    mlApplicationName String
    The name of ML Application (based on mlApplicationId).
    predictionEndpointDetails List<MlApplicationInstancePredictionEndpointDetail>
    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.
    authConfiguration MlApplicationInstanceAuthConfiguration
    AuthN/Z configuration for online prediction
    compartmentId string
    (Updatable) The OCID of the compartment where the MlApplicationInstance is created.
    configurations MlApplicationInstanceConfiguration[]
    (Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
    definedTags {[key: string]: string}
    (Updatable) 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.
    freeformTags {[key: string]: string}
    (Updatable) 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"}
    isEnabled boolean
    (Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) 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

    (Updatable) The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    mlApplicationImplementationName string
    The name of Ml Application Implementation (based on mlApplicationImplementationId)
    mlApplicationName string
    The name of ML Application (based on mlApplicationId).
    predictionEndpointDetails MlApplicationInstancePredictionEndpointDetail[]
    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_configuration datascience.MlApplicationInstanceAuthConfigurationArgs
    AuthN/Z configuration for online prediction
    compartment_id str
    (Updatable) The OCID of the compartment where the MlApplicationInstance is created.
    configurations Sequence[datascience.MlApplicationInstanceConfigurationArgs]
    (Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
    defined_tags Mapping[str, str]
    (Updatable) 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.
    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    is_enabled bool
    (Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) 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

    (Updatable) The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    ml_application_implementation_name str
    The name of Ml Application Implementation (based on mlApplicationImplementationId)
    ml_application_name str
    The name of ML Application (based on mlApplicationId).
    prediction_endpoint_details Sequence[datascience.MlApplicationInstancePredictionEndpointDetailArgs]
    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.
    authConfiguration Property Map
    AuthN/Z configuration for online prediction
    compartmentId String
    (Updatable) The OCID of the compartment where the MlApplicationInstance is created.
    configurations List<Property Map>
    (Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation.
    definedTags Map<String>
    (Updatable) 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.
    freeformTags Map<String>
    (Updatable) 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"}
    isEnabled Boolean
    (Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) 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

    (Updatable) The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    mlApplicationImplementationName String
    The name of Ml Application Implementation (based on mlApplicationImplementationId)
    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

    MlApplicationInstanceAuthConfiguration, MlApplicationInstanceAuthConfigurationArgs

    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
    applicationName string
    Name of the IDCS application
    domainId string
    Identity Domain OCID
    type str
    Type of AuthN/Z
    application_name str
    Name of the IDCS application
    domain_id str
    Identity Domain OCID
    type String
    Type of AuthN/Z
    applicationName String
    Name of the IDCS application
    domainId String
    Identity Domain OCID

    MlApplicationInstanceConfiguration, MlApplicationInstanceConfigurationArgs

    Key string
    (Updatable) Key of configuration property
    Value string
    (Updatable) Value of configuration property
    Key string
    (Updatable) Key of configuration property
    Value string
    (Updatable) Value of configuration property
    key String
    (Updatable) Key of configuration property
    value String
    (Updatable) Value of configuration property
    key string
    (Updatable) Key of configuration property
    value string
    (Updatable) Value of configuration property
    key str
    (Updatable) Key of configuration property
    value str
    (Updatable) Value of configuration property
    key String
    (Updatable) Key of configuration property
    value String
    (Updatable) Value of configuration property

    MlApplicationInstancePredictionEndpointDetail, MlApplicationInstancePredictionEndpointDetailArgs

    BasePredictionUri string
    Base URI of prediction router.
    PredictionUris List<MlApplicationInstancePredictionEndpointDetailPredictionUri>
    Array of all prediction URIs per use-case.
    BasePredictionUri string
    Base URI of prediction router.
    PredictionUris []MlApplicationInstancePredictionEndpointDetailPredictionUri
    Array of all prediction URIs per use-case.
    basePredictionUri String
    Base URI of prediction router.
    predictionUris List<MlApplicationInstancePredictionEndpointDetailPredictionUri>
    Array of all prediction URIs per use-case.
    basePredictionUri string
    Base URI of prediction router.
    predictionUris MlApplicationInstancePredictionEndpointDetailPredictionUri[]
    Array of all prediction URIs per use-case.
    base_prediction_uri str
    Base URI of prediction router.
    prediction_uris Sequence[datascience.MlApplicationInstancePredictionEndpointDetailPredictionUri]
    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.

    MlApplicationInstancePredictionEndpointDetailPredictionUri, MlApplicationInstancePredictionEndpointDetailPredictionUriArgs

    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.

    Import

    MlApplicationInstances can be imported using the id, e.g.

    $ pulumi import oci:DataScience/mlApplicationInstance:MlApplicationInstance test_ml_application_instance "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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