import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Model Custom Metadata Artifact resource in Oracle Cloud Infrastructure Data Science service. * * Creates model custom metadata artifact for specified model. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testModelCustomMetadataArtifact = new oci.datascience.ModelCustomMetadataArtifact("test_model_custom_metadata_artifact", { * modelCustomMetadatumArtifact: modelCustomMetadataArtifactModelCustomMetadatumArtifact, * contentLength: modelCustomMetadataArtifactContentLength, * metadatumKeyName: testKey.name, * modelId: testModel.id, * contentDisposition: modelCustomMetadataArtifactContentDisposition, * }); * ``` * * ## Import * * ModelCustomMetadataArtifacts can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataScience/modelCustomMetadataArtifact:ModelCustomMetadataArtifact test_model_custom_metadata_artifact "id" * ``` */ export declare class ModelCustomMetadataArtifact extends pulumi.CustomResource { /** * Get an existing ModelCustomMetadataArtifact 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?: ModelCustomMetadataArtifactState, opts?: pulumi.CustomResourceOptions): ModelCustomMetadataArtifact; /** * Returns true if the given object is an instance of ModelCustomMetadataArtifact. 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 ModelCustomMetadataArtifact; /** * (Updatable) 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; /** * (Updatable) The content length of the body. */ readonly contentLength: pulumi.Output; /** * The name of the model metadatum in the metadata. */ readonly metadatumKeyName: pulumi.Output; /** * (Updatable) The model custom metadata artifact to upload. */ readonly modelCustomMetadatumArtifact: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. * * ** 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 modelId: pulumi.Output; /** * Create a ModelCustomMetadataArtifact 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: ModelCustomMetadataArtifactArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ModelCustomMetadataArtifact resources. */ export interface ModelCustomMetadataArtifactState { /** * (Updatable) 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; /** * (Updatable) The content length of the body. */ contentLength?: pulumi.Input; /** * The name of the model metadatum in the metadata. */ metadatumKeyName?: pulumi.Input; /** * (Updatable) The model custom metadata artifact to upload. */ modelCustomMetadatumArtifact?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. * * ** 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 */ modelId?: pulumi.Input; } /** * The set of arguments for constructing a ModelCustomMetadataArtifact resource. */ export interface ModelCustomMetadataArtifactArgs { /** * (Updatable) 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; /** * (Updatable) The content length of the body. */ contentLength: pulumi.Input; /** * The name of the model metadatum in the metadata. */ metadatumKeyName: pulumi.Input; /** * (Updatable) The model custom metadata artifact to upload. */ modelCustomMetadatumArtifact: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. * * ** 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 */ modelId: pulumi.Input; } //# sourceMappingURL=modelCustomMetadataArtifact.d.ts.map