RunbookImportAsVersion¶
- class oci.fleet_apps_management.models.RunbookImportAsVersion(**kwargs)¶
Bases:
RunbookImportAsImport as Version.
Attributes:
A constant which can be used with the import_type property of a RunbookImportAs.
A constant which can be used with the import_type property of a RunbookImportAs.
[Required] Gets the import_option of this RunbookImportAs.
[Required] Gets the import_type of this RunbookImportAs.
[Required] Gets the runbook_id of this RunbookImportAsVersion.
Gets the version of this RunbookImportAs.
Methods:
__init__(**kwargs)Initializes a new RunbookImportAsVersion 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.
- IMPORT_TYPE_RUNBOOK = 'RUNBOOK'¶
A constant which can be used with the import_type property of a RunbookImportAs. This constant has a value of “RUNBOOK”
- IMPORT_TYPE_RUNBOOK_VERSION = 'RUNBOOK_VERSION'¶
A constant which can be used with the import_type property of a RunbookImportAs. This constant has a value of “RUNBOOK_VERSION”
- __init__(**kwargs)¶
Initializes a new RunbookImportAsVersion object with values from keyword arguments. The default value of the
import_typeattribute of this class isRUNBOOK_VERSIONand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
import_type (str) – The value to assign to the import_type property of this RunbookImportAsVersion. Allowed values for this property are: “RUNBOOK”, “RUNBOOK_VERSION”
version (str) – The value to assign to the version property of this RunbookImportAsVersion.
import_option (str) – The value to assign to the import_option property of this RunbookImportAsVersion.
runbook_id (str) – The value to assign to the runbook_id property of this RunbookImportAsVersion.
- 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 import_option¶
[Required] Gets the import_option of this RunbookImportAs. ImportOptions for Runbook.
- Returns
The import_option of this RunbookImportAs.
- Return type
str
- property import_type¶
[Required] Gets the import_type of this RunbookImportAs. Import type.
Allowed values for this property are: “RUNBOOK”, “RUNBOOK_VERSION”
- Returns
The import_type of this RunbookImportAs.
- Return type
str
- property runbook_id¶
[Required] Gets the runbook_id of this RunbookImportAsVersion. Only for VERSION importType.
- Returns
The runbook_id of this RunbookImportAsVersion.
- Return type
str
- property version¶
Gets the version of this RunbookImportAs. Version number.
- Returns
The version of this RunbookImportAs.
- Return type
str