ImportRunbookDetails¶
-
class
oci.fleet_apps_management.models.ImportRunbookDetails(**kwargs)¶ Bases:
objectRequest to Import Runbook.
Attributes
IMPORT_OPTION_INCREMENTA constant which can be used with the import_option property of a ImportRunbookDetails. IMPORT_OPTION_REPLACEA constant which can be used with the import_option property of a ImportRunbookDetails. IMPORT_OPTION_RETAINA constant which can be used with the import_option property of a ImportRunbookDetails. compartment_id[Required] Gets the compartment_id of this ImportRunbookDetails. content_destination[Required] Gets the content_destination of this ImportRunbookDetails. content_source[Required] Gets the content_source of this ImportRunbookDetails. import_optionGets the import_option of this ImportRunbookDetails. required_valuesGets the required_values of this ImportRunbookDetails. runbook_nameGets the runbook_name of this ImportRunbookDetails. versionGets the version of this ImportRunbookDetails. Methods
__init__(**kwargs)Initializes a new ImportRunbookDetails object with values from keyword arguments. -
IMPORT_OPTION_INCREMENT= 'INCREMENT'¶ A constant which can be used with the import_option property of a ImportRunbookDetails. This constant has a value of “INCREMENT”
-
IMPORT_OPTION_REPLACE= 'REPLACE'¶ A constant which can be used with the import_option property of a ImportRunbookDetails. This constant has a value of “REPLACE”
-
IMPORT_OPTION_RETAIN= 'RETAIN'¶ A constant which can be used with the import_option property of a ImportRunbookDetails. This constant has a value of “RETAIN”
-
__init__(**kwargs)¶ Initializes a new ImportRunbookDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this ImportRunbookDetails.
- content_source (oci.fleet_apps_management.models.TransferRunbookContentDetails) – The value to assign to the content_source property of this ImportRunbookDetails.
- content_destination (oci.fleet_apps_management.models.TransferRunbookContentDetails) – The value to assign to the content_destination property of this ImportRunbookDetails.
- runbook_name (str) – The value to assign to the runbook_name property of this ImportRunbookDetails.
- import_option (str) – The value to assign to the import_option property of this ImportRunbookDetails. Allowed values for this property are: “RETAIN”, “REPLACE”, “INCREMENT”
- version (str) – The value to assign to the version property of this ImportRunbookDetails.
- required_values (list[oci.fleet_apps_management.models.RunbookImportRequiredValue]) – The value to assign to the required_values property of this ImportRunbookDetails.
-
compartment_id¶ [Required] Gets the compartment_id of this ImportRunbookDetails. OCID of the compartment to which the resource belongs to.
Returns: The compartment_id of this ImportRunbookDetails. Return type: str
-
content_destination¶ [Required] Gets the content_destination of this ImportRunbookDetails.
Returns: The content_destination of this ImportRunbookDetails. Return type: oci.fleet_apps_management.models.TransferRunbookContentDetails
-
content_source¶ [Required] Gets the content_source of this ImportRunbookDetails.
Returns: The content_source of this ImportRunbookDetails. Return type: oci.fleet_apps_management.models.TransferRunbookContentDetails
-
import_option¶ Gets the import_option of this ImportRunbookDetails. ImportOptions for Runbook.
Allowed values for this property are: “RETAIN”, “REPLACE”, “INCREMENT”
Returns: The import_option of this ImportRunbookDetails. Return type: str
-
required_values¶ Gets the required_values of this ImportRunbookDetails. List of required values.
Returns: The required_values of this ImportRunbookDetails. Return type: list[oci.fleet_apps_management.models.RunbookImportRequiredValue]
-
runbook_name¶ Gets the runbook_name of this ImportRunbookDetails. The name of the runbook.
Returns: The runbook_name of this ImportRunbookDetails. Return type: str
-
version¶ Gets the version of this ImportRunbookDetails. Version number.
Returns: The version of this ImportRunbookDetails. Return type: str
-