NodeSourceViaImageOption¶
- 
class oci.container_engine.models.NodeSourceViaImageOption(**kwargs)¶
- Bases: - oci.container_engine.models.node_source_option.NodeSourceOption- An image can be specified as the source of nodes when launching a node pool using the nodeSourceDetails object. - Attributes - SOURCE_TYPE_IMAGE- str(object=’’) -> str - image_id- Gets the image_id of this NodeSourceViaImageOption. - source_name- Gets the source_name of this NodeSourceOption. - source_type- [Required] Gets the source_type of this NodeSourceOption. - Methods - __init__(**kwargs)- Initializes a new NodeSourceViaImageOption 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 NodeSourceViaImageOption 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 NodeSourceViaImageOption. Allowed values for this property are: “IMAGE”
- source_name (str) – The value to assign to the source_name property of this NodeSourceViaImageOption.
- image_id (str) – The value to assign to the image_id property of this NodeSourceViaImageOption.
 
 - 
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¶
- Gets the image_id of this NodeSourceViaImageOption. The OCID of the image. - Returns: - The image_id of this NodeSourceViaImageOption. - Return type: - str 
 - 
source_name¶
- Gets the source_name of this NodeSourceOption. The user-friendly name of the entity corresponding to the OCID. - Returns: - The source_name of this NodeSourceOption. - Return type: - str 
 - 
source_type¶
- [Required] Gets the source_type of this NodeSourceOption. The source type of this option. IMAGE means the OCID is 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 NodeSourceOption. - Return type: - str 
 
-