import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Model Defined Metadata Artifact resource in Oracle Cloud Infrastructure Data Science service. * * Creates model defined metadata artifact for specified model. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testModelDefinedMetadataArtifact = new oci.datascience.ModelDefinedMetadataArtifact("test_model_defined_metadata_artifact", { * modelDefinedMetadatumArtifact: modelDefinedMetadataArtifactModelDefinedMetadatumArtifact, * contentLength: modelDefinedMetadataArtifactContentLength, * metadatumKeyName: testKey.name, * modelId: testModel.id, * contentDisposition: modelDefinedMetadataArtifactContentDisposition, * }); * ``` * * ## Import * * ModelDefinedMetadataArtifacts can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataScience/modelDefinedMetadataArtifact:ModelDefinedMetadataArtifact test_model_defined_metadata_artifact "id" * ``` */ export declare class ModelDefinedMetadataArtifact extends pulumi.CustomResource { /** * Get an existing ModelDefinedMetadataArtifact 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?: ModelDefinedMetadataArtifactState, opts?: pulumi.CustomResourceOptions): ModelDefinedMetadataArtifact; /** * Returns true if the given object is an instance of ModelDefinedMetadataArtifact. 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 ModelDefinedMetadataArtifact; /** * (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 defined metadata artifact to upload. */ readonly modelDefinedMetadatumArtifact: 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 ModelDefinedMetadataArtifact 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: ModelDefinedMetadataArtifactArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ModelDefinedMetadataArtifact resources. */ export interface ModelDefinedMetadataArtifactState { /** * (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 defined metadata artifact to upload. */ modelDefinedMetadatumArtifact?: 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 ModelDefinedMetadataArtifact resource. */ export interface ModelDefinedMetadataArtifactArgs { /** * (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 defined metadata artifact to upload. */ modelDefinedMetadatumArtifact: 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=modelDefinedMetadataArtifact.d.ts.map