import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Model Group Artifact resource in Oracle Cloud Infrastructure Data Science service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-science/latest/ModelGroupArtifact * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datascience * * Creates artifact for the Model Group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testModelGroupArtifact = new oci.datascience.ModelGroupArtifact("test_model_group_artifact", { * modelGroupArtifact: modelGroupArtifactModelGroupArtifact, * contentLength: modelGroupArtifactContentLength, * modelGroupId: testModelGroup.id, * contentDisposition: modelGroupArtifactContentDisposition, * }); * ``` * * ## Import * * ModelGroupArtifacts can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataScience/modelGroupArtifact:ModelGroupArtifact test_model_group_artifact "id" * ``` */ export declare class ModelGroupArtifact extends pulumi.CustomResource { /** * Get an existing ModelGroupArtifact 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?: ModelGroupArtifactState, opts?: pulumi.CustomResourceOptions): ModelGroupArtifact; /** * Returns true if the given object is an instance of ModelGroupArtifact. 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 ModelGroupArtifact; /** * This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. If this optional field is not populated in the request, then the OCID of the model is used for the file name when downloading. Example: `{"Content-Disposition": "attachment" "filename"="model.tar.gz" "Content-Length": "2347" "Content-Type": "application/gzip"}` */ readonly contentDisposition: pulumi.Output; /** * The content length of the body. */ readonly contentLength: pulumi.Output; /** * The model group artifact to upload. */ readonly modelGroupArtifact: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the modelGroup. * * ** 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 modelGroupId: pulumi.Output; /** * Create a ModelGroupArtifact 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: ModelGroupArtifactArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ModelGroupArtifact resources. */ export interface ModelGroupArtifactState { /** * This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. If this optional field is not populated in the request, then the OCID of the model is used for the file name when downloading. Example: `{"Content-Disposition": "attachment" "filename"="model.tar.gz" "Content-Length": "2347" "Content-Type": "application/gzip"}` */ contentDisposition?: pulumi.Input; /** * The content length of the body. */ contentLength?: pulumi.Input; /** * The model group artifact to upload. */ modelGroupArtifact?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the modelGroup. * * ** 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 */ modelGroupId?: pulumi.Input; } /** * The set of arguments for constructing a ModelGroupArtifact resource. */ export interface ModelGroupArtifactArgs { /** * This header allows you to specify a filename during upload. This file name is used to dispose of the file contents while downloading the file. If this optional field is not populated in the request, then the OCID of the model is used for the file name when downloading. Example: `{"Content-Disposition": "attachment" "filename"="model.tar.gz" "Content-Length": "2347" "Content-Type": "application/gzip"}` */ contentDisposition?: pulumi.Input; /** * The content length of the body. */ contentLength: pulumi.Input; /** * The model group artifact to upload. */ modelGroupArtifact: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the modelGroup. * * ** 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 */ modelGroupId: pulumi.Input; } //# sourceMappingURL=modelGroupArtifact.d.ts.map