1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataScience
  5. ModelArtifactImport
Oracle Cloud Infrastructure v1.33.0 published on Thursday, Apr 25, 2024 by Pulumi

oci.DataScience.ModelArtifactImport

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.33.0 published on Thursday, Apr 25, 2024 by Pulumi

    Create ModelArtifactImport Resource

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

    Constructor syntax

    new ModelArtifactImport(name: string, args: ModelArtifactImportArgs, opts?: CustomResourceOptions);
    @overload
    def ModelArtifactImport(resource_name: str,
                            args: ModelArtifactImportArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def ModelArtifactImport(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            artifact_source_type: Optional[str] = None,
                            destination_bucket: Optional[str] = None,
                            destination_object_name: Optional[str] = None,
                            destination_region: Optional[str] = None,
                            model_id: Optional[str] = None,
                            namespace: Optional[str] = None)
    func NewModelArtifactImport(ctx *Context, name string, args ModelArtifactImportArgs, opts ...ResourceOption) (*ModelArtifactImport, error)
    public ModelArtifactImport(string name, ModelArtifactImportArgs args, CustomResourceOptions? opts = null)
    public ModelArtifactImport(String name, ModelArtifactImportArgs args)
    public ModelArtifactImport(String name, ModelArtifactImportArgs args, CustomResourceOptions options)
    
    type: oci:DataScience:ModelArtifactImport
    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 ModelArtifactImportArgs
    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 ModelArtifactImportArgs
    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 ModelArtifactImportArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ModelArtifactImportArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ModelArtifactImportArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var modelArtifactImportResource = new Oci.DataScience.ModelArtifactImport("modelArtifactImportResource", new()
    {
        ArtifactSourceType = "string",
        DestinationBucket = "string",
        DestinationObjectName = "string",
        DestinationRegion = "string",
        ModelId = "string",
        Namespace = "string",
    });
    
    example, err := DataScience.NewModelArtifactImport(ctx, "modelArtifactImportResource", &DataScience.ModelArtifactImportArgs{
    	ArtifactSourceType:    pulumi.String("string"),
    	DestinationBucket:     pulumi.String("string"),
    	DestinationObjectName: pulumi.String("string"),
    	DestinationRegion:     pulumi.String("string"),
    	ModelId:               pulumi.String("string"),
    	Namespace:             pulumi.String("string"),
    })
    
    var modelArtifactImportResource = new ModelArtifactImport("modelArtifactImportResource", ModelArtifactImportArgs.builder()        
        .artifactSourceType("string")
        .destinationBucket("string")
        .destinationObjectName("string")
        .destinationRegion("string")
        .modelId("string")
        .namespace("string")
        .build());
    
    model_artifact_import_resource = oci.data_science.ModelArtifactImport("modelArtifactImportResource",
        artifact_source_type="string",
        destination_bucket="string",
        destination_object_name="string",
        destination_region="string",
        model_id="string",
        namespace="string")
    
    const modelArtifactImportResource = new oci.datascience.ModelArtifactImport("modelArtifactImportResource", {
        artifactSourceType: "string",
        destinationBucket: "string",
        destinationObjectName: "string",
        destinationRegion: "string",
        modelId: "string",
        namespace: "string",
    });
    
    type: oci:DataScience:ModelArtifactImport
    properties:
        artifactSourceType: string
        destinationBucket: string
        destinationObjectName: string
        destinationRegion: string
        modelId: string
        namespace: string
    

    ModelArtifactImport Resource Properties

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

    Inputs

    The ModelArtifactImport resource accepts the following input properties:

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ModelArtifactImport Resource

    Get an existing ModelArtifactImport 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?: ModelArtifactImportState, opts?: CustomResourceOptions): ModelArtifactImport
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            artifact_source_type: Optional[str] = None,
            destination_bucket: Optional[str] = None,
            destination_object_name: Optional[str] = None,
            destination_region: Optional[str] = None,
            model_id: Optional[str] = None,
            namespace: Optional[str] = None) -> ModelArtifactImport
    func GetModelArtifactImport(ctx *Context, name string, id IDInput, state *ModelArtifactImportState, opts ...ResourceOption) (*ModelArtifactImport, error)
    public static ModelArtifactImport Get(string name, Input<string> id, ModelArtifactImportState? state, CustomResourceOptions? opts = null)
    public static ModelArtifactImport get(String name, Output<String> id, ModelArtifactImportState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:

    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 v1.33.0 published on Thursday, Apr 25, 2024 by Pulumi