CreateArtifactDetails

class oci.generative_ai.models.CreateArtifactDetails(**kwargs)

Bases: object

Artifact configuration input for the deployment.

Attributes

ARTIFACT_TYPE_SIMPLE_DOCKER_ARTIFACT A constant which can be used with the artifact_type property of a CreateArtifactDetails.
artifact_type Gets the artifact_type of this CreateArtifactDetails.

Methods

__init__(**kwargs) Initializes a new CreateArtifactDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
ARTIFACT_TYPE_SIMPLE_DOCKER_ARTIFACT = 'SIMPLE_DOCKER_ARTIFACT'

A constant which can be used with the artifact_type property of a CreateArtifactDetails. This constant has a value of “SIMPLE_DOCKER_ARTIFACT”

__init__(**kwargs)

Initializes a new CreateArtifactDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:artifact_type (str) – The value to assign to the artifact_type property of this CreateArtifactDetails. Allowed values for this property are: “SIMPLE_DOCKER_ARTIFACT”
artifact_type

Gets the artifact_type of this CreateArtifactDetails. The type of the artifact.

Allowed values for this property are: “SIMPLE_DOCKER_ARTIFACT”

Returns:The artifact_type of this CreateArtifactDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.