NodeSourceViaImageDetails

class oci.container_engine.models.NodeSourceViaImageDetails(**kwargs)

Bases: oci.container_engine.models.node_source_details.NodeSourceDetails

Details of the image running on the node.

Attributes

SOURCE_TYPE_IMAGE str(object=’‘) -> str
image_id [Required] Gets the image_id of this NodeSourceViaImageDetails.
source_type [Required] Gets the source_type of this NodeSourceDetails.

Methods

__init__(**kwargs) Initializes a new NodeSourceViaImageDetails 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.
SOURCE_TYPE_IMAGE = 'IMAGE'
__init__(**kwargs)

Initializes a new NodeSourceViaImageDetails object with values from keyword arguments. The default value of the source_type attribute of this class is IMAGE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • source_type (str) – The value to assign to the source_type property of this NodeSourceViaImageDetails. Allowed values for this property are: “IMAGE”
  • image_id (str) – The value to assign to the image_id property of this NodeSourceViaImageDetails.
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.

image_id

[Required] Gets the image_id of this NodeSourceViaImageDetails. The OCID of the image used to boot the node.

Returns:The image_id of this NodeSourceViaImageDetails.
Return type:str
source_type

[Required] Gets the source_type of this NodeSourceDetails. The source type for the node. Use IMAGE when specifying an OCID of an image.

Allowed values for this property are: “IMAGE”

Returns:The source_type of this NodeSourceDetails.
Return type:str