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 - boot_volume_size_in_gbs- Gets the boot_volume_size_in_gbs of this NodeSourceViaImageDetails. - 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_typeattribute of this class is- IMAGEand 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.
- boot_volume_size_in_gbs (int) – The value to assign to the boot_volume_size_in_gbs property of this NodeSourceViaImageDetails.
 
 - 
boot_volume_size_in_gbs¶
- Gets the boot_volume_size_in_gbs of this NodeSourceViaImageDetails. The size of the boot volume in GBs. Minimum value is 50 GB. See here for max custom boot volume sizing and OS-specific requirements. - Returns: - The boot_volume_size_in_gbs of this NodeSourceViaImageDetails. - Return type: - int 
 - 
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”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The source_type of this NodeSourceDetails. - Return type: - str 
 
-