RunbookImportAs¶
- class oci.fleet_apps_management.models.RunbookImportAs(**kwargs)¶
Bases:
objectRunbook import as type.
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.
Gets the version of this RunbookImportAs.
Methods:
__init__(**kwargs)Initializes a new RunbookImportAs 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 RunbookImportAs object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 RunbookImportAs. Allowed values for this property are: “RUNBOOK”, “RUNBOOK_VERSION”
version (str) – The value to assign to the version property of this RunbookImportAs.
import_option (str) – The value to assign to the import_option property of this RunbookImportAs.
- 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 version¶
Gets the version of this RunbookImportAs. Version number.
- Returns
The version of this RunbookImportAs.
- Return type
str