CreateSingleDockerArtifactDetails

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

Bases: oci.generative_ai.models.create_artifact_details.CreateArtifactDetails

CreateSingleDockerArtifactDetails model.

Attributes

ARTIFACT_TYPE_SIMPLE_DOCKER_ARTIFACT str(object=’’) -> str
artifact_type Gets the artifact_type of this CreateArtifactDetails.
container_uri Gets the container_uri of this CreateSingleDockerArtifactDetails.
is_vulnerability_scan_required Gets the is_vulnerability_scan_required of this CreateArtifactDetails.
tag Gets the tag of this CreateSingleDockerArtifactDetails.

Methods

__init__(**kwargs) Initializes a new CreateSingleDockerArtifactDetails 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'
__init__(**kwargs)

Initializes a new CreateSingleDockerArtifactDetails object with values from keyword arguments. The default value of the artifact_type attribute of this class is SIMPLE_DOCKER_ARTIFACT and it should not be changed. 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 CreateSingleDockerArtifactDetails. 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 CreateSingleDockerArtifactDetails.
  • container_uri (str) – The value to assign to the container_uri property of this CreateSingleDockerArtifactDetails.
  • tag (str) – The value to assign to the tag property of this CreateSingleDockerArtifactDetails.
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
container_uri

Gets the container_uri of this CreateSingleDockerArtifactDetails. image url.

Returns:The container_uri of this CreateSingleDockerArtifactDetails.
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.

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
tag

Gets the tag of this CreateSingleDockerArtifactDetails. image tag.

Returns:The tag of this CreateSingleDockerArtifactDetails.
Return type:str