RunbookImportAsVersion

class oci.fleet_apps_management.models.RunbookImportAsVersion(**kwargs)

Bases: oci.fleet_apps_management.models.runbook_import_as.RunbookImportAs

Import as Version.

Attributes

IMPORT_TYPE_RUNBOOK str(object=’’) -> str
IMPORT_TYPE_RUNBOOK_VERSION str(object=’’) -> str
import_option [Required] Gets the import_option of this RunbookImportAs.
import_type [Required] Gets the import_type of this RunbookImportAs.
runbook_id [Required] Gets the runbook_id of this RunbookImportAsVersion.
version 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'
IMPORT_TYPE_RUNBOOK_VERSION = 'RUNBOOK_VERSION'
__init__(**kwargs)

Initializes a new RunbookImportAsVersion object with values from keyword arguments. The default value of the import_type attribute of this class is RUNBOOK_VERSION and 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.

import_option

[Required] Gets the import_option of this RunbookImportAs. ImportOptions for Runbook.

Returns:The import_option of this RunbookImportAs.
Return type:str
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
runbook_id

[Required] Gets the runbook_id of this RunbookImportAsVersion. Only for VERSION importType.

Returns:The runbook_id of this RunbookImportAsVersion.
Return type:str
version

Gets the version of this RunbookImportAs. Version number.

Returns:The version of this RunbookImportAs.
Return type:str