import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Ml Application Instance resource in Oracle Cloud Infrastructure Data Science service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-science/latest/MlApplicationInstance * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datascience * * Creates a new MlApplicationInstance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMlApplicationInstance = new oci.datascience.MlApplicationInstance("test_ml_application_instance", { * compartmentId: compartmentId, * mlApplicationId: testMlApplication.id, * mlApplicationImplementationId: testMlApplicationImplementation.id, * authConfiguration: { * type: mlApplicationInstanceAuthConfigurationType, * }, * configurations: [{ * key: mlApplicationInstanceConfigurationKey, * value: mlApplicationInstanceConfigurationValue, * }], * definedTags: { * "Operations.CostCenter": "42", * }, * displayName: mlApplicationInstanceDisplayName, * freeformTags: { * Department: "Finance", * }, * isEnabled: mlApplicationInstanceIsEnabled === "true", * }); * ``` * * ## Import * * MlApplicationInstances can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataScience/mlApplicationInstance:MlApplicationInstance test_ml_application_instance "id" * ``` */ export declare class MlApplicationInstance extends pulumi.CustomResource { /** * Get an existing MlApplicationInstance resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: MlApplicationInstanceState, opts?: pulumi.CustomResourceOptions): MlApplicationInstance; /** * Returns true if the given object is an instance of MlApplicationInstance. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is MlApplicationInstance; /** * AuthN/Z configuration for online prediction */ readonly authConfiguration: pulumi.Output; /** * (Updatable) The OCID of the compartment where the MlApplicationInstance is created. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation. */ readonly configurations: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * The name of MlApplicationInstance. System will generate displayName when not provided. */ readonly displayName: pulumi.Output; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) lifecycle state. */ readonly isEnabled: pulumi.Output; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ readonly lifecycleDetails: pulumi.Output; /** * 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. */ readonly lifecycleSubstate: pulumi.Output; /** * The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID. */ readonly mlApplicationId: pulumi.Output; /** * (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 */ readonly mlApplicationImplementationId: pulumi.Output; /** * The name of Ml Application Implementation (based on mlApplicationImplementationId) */ readonly mlApplicationImplementationName: pulumi.Output; /** * The name of ML Application (based on mlApplicationId). */ readonly mlApplicationName: pulumi.Output; /** * Prediction endpoint related information. */ readonly predictionEndpointDetails: pulumi.Output; /** * The current state of the MlApplicationInstance. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time the the MlApplication was created. An RFC3339 formatted datetime string */ readonly timeCreated: pulumi.Output; /** * Time of last MlApplicationInstance update in the format defined by RFC 3339. */ readonly timeUpdated: pulumi.Output; /** * Create a MlApplicationInstance resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: MlApplicationInstanceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MlApplicationInstance resources. */ export interface MlApplicationInstanceState { /** * AuthN/Z configuration for online prediction */ authConfiguration?: pulumi.Input; /** * (Updatable) The OCID of the compartment where the MlApplicationInstance is created. */ compartmentId?: pulumi.Input; /** * (Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation. */ configurations?: pulumi.Input[] | undefined>; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The name of MlApplicationInstance. System will generate displayName when not provided. */ displayName?: pulumi.Input; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) lifecycle state. */ isEnabled?: pulumi.Input; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ lifecycleDetails?: pulumi.Input; /** * 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. */ lifecycleSubstate?: pulumi.Input; /** * The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID. */ mlApplicationId?: pulumi.Input; /** * (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 */ mlApplicationImplementationId?: pulumi.Input; /** * The name of Ml Application Implementation (based on mlApplicationImplementationId) */ mlApplicationImplementationName?: pulumi.Input; /** * The name of ML Application (based on mlApplicationId). */ mlApplicationName?: pulumi.Input; /** * Prediction endpoint related information. */ predictionEndpointDetails?: pulumi.Input[] | undefined>; /** * The current state of the MlApplicationInstance. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time the the MlApplication was created. An RFC3339 formatted datetime string */ timeCreated?: pulumi.Input; /** * Time of last MlApplicationInstance update in the format defined by RFC 3339. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a MlApplicationInstance resource. */ export interface MlApplicationInstanceArgs { /** * AuthN/Z configuration for online prediction */ authConfiguration?: pulumi.Input; /** * (Updatable) The OCID of the compartment where the MlApplicationInstance is created. */ compartmentId: pulumi.Input; /** * (Updatable) Data that are used for provisioning of the given MlApplicationInstance. These are validated against configurationSchema defined in referenced MlApplicationImplementation. */ configurations?: pulumi.Input[] | undefined>; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The name of MlApplicationInstance. System will generate displayName when not provided. */ displayName?: pulumi.Input; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Defines whether the MlApplicationInstance will be created in ACTIVE (true value) or INACTIVE (false value) lifecycle state. */ isEnabled?: pulumi.Input; /** * The OCID of ML Application. This resource is an instance of ML Application referenced by this OCID. */ mlApplicationId: pulumi.Input; /** * (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 */ mlApplicationImplementationId: pulumi.Input; } //# sourceMappingURL=mlApplicationInstance.d.ts.map