oci.DataScience.ModelArtifactExport
Explore with Pulumi AI
Create ModelArtifactExport Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ModelArtifactExport(name: string, args: ModelArtifactExportArgs, opts?: CustomResourceOptions);@overload
def ModelArtifactExport(resource_name: str,
                        args: ModelArtifactExportArgs,
                        opts: Optional[ResourceOptions] = None)
@overload
def ModelArtifactExport(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        artifact_source_type: Optional[str] = None,
                        model_id: Optional[str] = None,
                        namespace: Optional[str] = None,
                        source_bucket: Optional[str] = None,
                        source_object_name: Optional[str] = None,
                        source_region: Optional[str] = None)func NewModelArtifactExport(ctx *Context, name string, args ModelArtifactExportArgs, opts ...ResourceOption) (*ModelArtifactExport, error)public ModelArtifactExport(string name, ModelArtifactExportArgs args, CustomResourceOptions? opts = null)
public ModelArtifactExport(String name, ModelArtifactExportArgs args)
public ModelArtifactExport(String name, ModelArtifactExportArgs args, CustomResourceOptions options)
type: oci:DataScience:ModelArtifactExport
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 ModelArtifactExportArgs
- 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 ModelArtifactExportArgs
- 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 ModelArtifactExportArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ModelArtifactExportArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ModelArtifactExportArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var modelArtifactExportResource = new Oci.DataScience.ModelArtifactExport("modelArtifactExportResource", new()
{
    ArtifactSourceType = "string",
    ModelId = "string",
    Namespace = "string",
    SourceBucket = "string",
    SourceObjectName = "string",
    SourceRegion = "string",
});
example, err := datascience.NewModelArtifactExport(ctx, "modelArtifactExportResource", &datascience.ModelArtifactExportArgs{
	ArtifactSourceType: pulumi.String("string"),
	ModelId:            pulumi.String("string"),
	Namespace:          pulumi.String("string"),
	SourceBucket:       pulumi.String("string"),
	SourceObjectName:   pulumi.String("string"),
	SourceRegion:       pulumi.String("string"),
})
var modelArtifactExportResource = new ModelArtifactExport("modelArtifactExportResource", ModelArtifactExportArgs.builder()
    .artifactSourceType("string")
    .modelId("string")
    .namespace("string")
    .sourceBucket("string")
    .sourceObjectName("string")
    .sourceRegion("string")
    .build());
model_artifact_export_resource = oci.data_science.ModelArtifactExport("modelArtifactExportResource",
    artifact_source_type="string",
    model_id="string",
    namespace="string",
    source_bucket="string",
    source_object_name="string",
    source_region="string")
const modelArtifactExportResource = new oci.datascience.ModelArtifactExport("modelArtifactExportResource", {
    artifactSourceType: "string",
    modelId: "string",
    namespace: "string",
    sourceBucket: "string",
    sourceObjectName: "string",
    sourceRegion: "string",
});
type: oci:DataScience:ModelArtifactExport
properties:
    artifactSourceType: string
    modelId: string
    namespace: string
    sourceBucket: string
    sourceObjectName: string
    sourceRegion: string
ModelArtifactExport Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ModelArtifactExport resource accepts the following input properties:
- ArtifactSource stringType 
- ModelId string
- Namespace string
- SourceBucket string
- SourceObject stringName 
- SourceRegion string
- ArtifactSource stringType 
- ModelId string
- Namespace string
- SourceBucket string
- SourceObject stringName 
- SourceRegion string
- artifactSource StringType 
- modelId String
- namespace String
- sourceBucket String
- sourceObject StringName 
- sourceRegion String
- artifactSource stringType 
- modelId string
- namespace string
- sourceBucket string
- sourceObject stringName 
- sourceRegion string
- artifact_source_ strtype 
- model_id str
- namespace str
- source_bucket str
- source_object_ strname 
- source_region str
- artifactSource StringType 
- modelId String
- namespace String
- sourceBucket String
- sourceObject StringName 
- sourceRegion String
Outputs
All input properties are implicitly available as output properties. Additionally, the ModelArtifactExport 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 ModelArtifactExport Resource
Get an existing ModelArtifactExport 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?: ModelArtifactExportState, opts?: CustomResourceOptions): ModelArtifactExport@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        artifact_source_type: Optional[str] = None,
        model_id: Optional[str] = None,
        namespace: Optional[str] = None,
        source_bucket: Optional[str] = None,
        source_object_name: Optional[str] = None,
        source_region: Optional[str] = None) -> ModelArtifactExportfunc GetModelArtifactExport(ctx *Context, name string, id IDInput, state *ModelArtifactExportState, opts ...ResourceOption) (*ModelArtifactExport, error)public static ModelArtifactExport Get(string name, Input<string> id, ModelArtifactExportState? state, CustomResourceOptions? opts = null)public static ModelArtifactExport get(String name, Output<String> id, ModelArtifactExportState state, CustomResourceOptions options)resources:  _:    type: oci:DataScience:ModelArtifactExport    get:      id: ${id}- 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.
- ArtifactSource stringType 
- ModelId string
- Namespace string
- SourceBucket string
- SourceObject stringName 
- SourceRegion string
- ArtifactSource stringType 
- ModelId string
- Namespace string
- SourceBucket string
- SourceObject stringName 
- SourceRegion string
- artifactSource StringType 
- modelId String
- namespace String
- sourceBucket String
- sourceObject StringName 
- sourceRegion String
- artifactSource stringType 
- modelId string
- namespace string
- sourceBucket string
- sourceObject stringName 
- sourceRegion string
- artifact_source_ strtype 
- model_id str
- namespace str
- source_bucket str
- source_object_ strname 
- source_region str
- artifactSource StringType 
- modelId String
- namespace String
- sourceBucket String
- sourceObject StringName 
- sourceRegion String
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.