ImportRunbookDetails¶
- class oci.fleet_apps_management.models.ImportRunbookDetails(**kwargs)¶
Bases:
objectRequest to Import Runbook.
Attributes:
A constant which can be used with the import_option property of a ImportRunbookDetails.
A constant which can be used with the import_option property of a ImportRunbookDetails.
A constant which can be used with the import_option property of a ImportRunbookDetails.
[Required] Gets the compartment_id of this ImportRunbookDetails.
[Required] Gets the content_destination of this ImportRunbookDetails.
[Required] Gets the content_source of this ImportRunbookDetails.
Gets the import_option of this ImportRunbookDetails.
Gets the required_values of this ImportRunbookDetails.
Gets the runbook_name of this ImportRunbookDetails.
Gets 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.
- property 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
- property 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
- property 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
- property 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
- property 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]
- property runbook_name¶
Gets the runbook_name of this ImportRunbookDetails. The name of the runbook.
- Returns
The runbook_name of this ImportRunbookDetails.
- Return type
str
- property version¶
Gets the version of this ImportRunbookDetails. Version number.
- Returns
The version of this ImportRunbookDetails.
- Return type
str