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.

is_vulnerability_scan_required

Gets the is_vulnerability_scan_required 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”

  • is_vulnerability_scan_required (bool) – The value to assign to the is_vulnerability_scan_required property of this CreateArtifactDetails.

property 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.

property is_vulnerability_scan_required

Gets the is_vulnerability_scan_required of this CreateArtifactDetails. Optional flag that requires an OCI Vulnerability Scanning Service compliance report for this artifact before it can become active. When omitted, the value defaults to false.

Returns

The is_vulnerability_scan_required of this CreateArtifactDetails.

Return type

bool