Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.DataScience.ModelArtifactExport
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
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
The ModelArtifactExport resource accepts the following input properties:
- Artifact
Source stringType - Model
Id string - Namespace string
- Source
Bucket string - Source
Object stringName - Source
Region string
- Artifact
Source stringType - Model
Id string - Namespace string
- Source
Bucket string - Source
Object stringName - Source
Region string
- artifact
Source StringType - model
Id String - namespace String
- source
Bucket String - source
Object StringName - source
Region String
- artifact
Source stringType - model
Id string - namespace string
- source
Bucket string - source
Object stringName - source
Region string
- artifact_
source_ strtype - model_
id str - namespace str
- source_
bucket str - source_
object_ strname - source_
region str
- artifact
Source StringType - model
Id String - namespace String
- source
Bucket String - source
Object StringName - source
Region 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) -> ModelArtifactExport
func 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)
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.
- Artifact
Source stringType - Model
Id string - Namespace string
- Source
Bucket string - Source
Object stringName - Source
Region string
- Artifact
Source stringType - Model
Id string - Namespace string
- Source
Bucket string - Source
Object stringName - Source
Region string
- artifact
Source StringType - model
Id String - namespace String
- source
Bucket String - source
Object StringName - source
Region String
- artifact
Source stringType - model
Id string - namespace string
- source
Bucket string - source
Object stringName - source
Region string
- artifact_
source_ strtype - model_
id str - namespace str
- source_
bucket str - source_
object_ strname - source_
region str
- artifact
Source StringType - model
Id String - namespace String
- source
Bucket String - source
Object StringName - source
Region String
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi