RunbookImportAs

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

Bases: object

Runbook import as type.

Attributes

IMPORT_TYPE_RUNBOOK A constant which can be used with the import_type property of a RunbookImportAs.
IMPORT_TYPE_RUNBOOK_VERSION A constant which can be used with the import_type property of a RunbookImportAs.
import_option [Required] Gets the import_option of this RunbookImportAs.
import_type [Required] Gets the import_type of this RunbookImportAs.
version 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.

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
version

Gets the version of this RunbookImportAs. Version number.

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