ParameterFileVersion¶
- class oci.database_migration.models.ParameterFileVersion(**kwargs)¶
Bases:
objectDetails of a parameter file
Attributes:
A constant which can be used with the kind property of a ParameterFileVersion.
A constant which can be used with the kind property of a ParameterFileVersion.
[Required] Gets the content of this ParameterFileVersion.
Gets the description of this ParameterFileVersion.
[Required] Gets the is_current of this ParameterFileVersion.
[Required] Gets the is_factory of this ParameterFileVersion.
[Required] Gets the kind of this ParameterFileVersion.
[Required] Gets the name of this ParameterFileVersion.
[Required] Gets the time_created of this ParameterFileVersion.
Methods:
__init__(**kwargs)Initializes a new ParameterFileVersion object with values from keyword arguments.
- KIND_EXTRACT = 'EXTRACT'¶
A constant which can be used with the kind property of a ParameterFileVersion. This constant has a value of “EXTRACT”
- KIND_REPLICAT = 'REPLICAT'¶
A constant which can be used with the kind property of a ParameterFileVersion. This constant has a value of “REPLICAT”
- __init__(**kwargs)¶
Initializes a new ParameterFileVersion object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this ParameterFileVersion.
description (str) – The value to assign to the description property of this ParameterFileVersion.
is_current (bool) – The value to assign to the is_current property of this ParameterFileVersion.
is_factory (bool) – The value to assign to the is_factory property of this ParameterFileVersion.
kind (str) – The value to assign to the kind property of this ParameterFileVersion. Allowed values for this property are: “EXTRACT”, “REPLICAT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
time_created (datetime) – The value to assign to the time_created property of this ParameterFileVersion.
content (str) – The value to assign to the content property of this ParameterFileVersion.
- property content¶
[Required] Gets the content of this ParameterFileVersion. The content in base64 encoded character string containing the value of the parameter file
- Returns
The content of this ParameterFileVersion.
- Return type
str
- property description¶
Gets the description of this ParameterFileVersion. Describes the current parameter file version
- Returns
The description of this ParameterFileVersion.
- Return type
str
- property is_current¶
[Required] Gets the is_current of this ParameterFileVersion. Return boolean true/false for the currently in-use parameter file (factory or a versioned file)
- Returns
The is_current of this ParameterFileVersion.
- Return type
bool
- property is_factory¶
[Required] Gets the is_factory of this ParameterFileVersion. Return true/false for whether the parameter file is oracle provided (Factory)
- Returns
The is_factory of this ParameterFileVersion.
- Return type
bool
- property kind¶
[Required] Gets the kind of this ParameterFileVersion. Indicator of Parameter File ‘kind’ (for an EXTRACT or a REPLICAT)
Allowed values for this property are: “EXTRACT”, “REPLICAT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The kind of this ParameterFileVersion.
- Return type
str
- property name¶
[Required] Gets the name of this ParameterFileVersion. A unique name associated with the current migration/job and extract/replicat name
- Returns
The name of this ParameterFileVersion.
- Return type
str
- property time_created¶
[Required] Gets the time_created of this ParameterFileVersion. The time when this parameter file was applied on the process
- Returns
The time_created of this ParameterFileVersion.
- Return type
datetime