CreateSingleDockerArtifactDetails¶
- class oci.generative_ai.models.CreateSingleDockerArtifactDetails(**kwargs)¶
Bases:
CreateArtifactDetailsCreateSingleDockerArtifactDetails model.
Attributes:
A constant which can be used with the artifact_type property of a CreateArtifactDetails.
Gets the artifact_type of this CreateArtifactDetails.
Gets the container_uri of this CreateSingleDockerArtifactDetails.
Gets the is_vulnerability_scan_required of this CreateArtifactDetails.
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'¶
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 CreateSingleDockerArtifactDetails object with values from keyword arguments. The default value of the
artifact_typeattribute of this class isSIMPLE_DOCKER_ARTIFACTand 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.
- 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
- property 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.
- 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
- property tag¶
Gets the tag of this CreateSingleDockerArtifactDetails. image tag.
- Returns
The tag of this CreateSingleDockerArtifactDetails.
- Return type
str