CreateImportTfStateJobOperationDetails¶
- class oci.resource_manager.models.CreateImportTfStateJobOperationDetails(**kwargs)¶
Bases:
CreateJobOperationDetailsJob details that are specific to import Terraform state operations.
Methods:
__init__(**kwargs)Initializes a new CreateImportTfStateJobOperationDetails 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.
Attributes:
Gets the is_provider_upgrade_required of this CreateJobOperationDetails.
[Required] Gets the operation of this CreateJobOperationDetails.
[Required] Gets the tf_state_base64_encoded of this CreateImportTfStateJobOperationDetails.
- __init__(**kwargs)¶
Initializes a new CreateImportTfStateJobOperationDetails object with values from keyword arguments. The default value of the
operationattribute of this class isIMPORT_TF_STATEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
operation (str) – The value to assign to the operation property of this CreateImportTfStateJobOperationDetails.
is_provider_upgrade_required (bool) – The value to assign to the is_provider_upgrade_required property of this CreateImportTfStateJobOperationDetails.
tf_state_base64_encoded (str) – The value to assign to the tf_state_base64_encoded property of this CreateImportTfStateJobOperationDetails.
- 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.
- property is_provider_upgrade_required¶
Gets the is_provider_upgrade_required of this CreateJobOperationDetails. Specifies whether or not to upgrade provider versions. Within the version constraints of your Terraform configuration, use the latest versions available from the source of Terraform providers. For more information about this option, see Dependency Lock File (terraform.io).
- Returns
The is_provider_upgrade_required of this CreateJobOperationDetails.
- Return type
bool
- property operation¶
[Required] Gets the operation of this CreateJobOperationDetails. Terraform-specific operation to execute.
- Returns
The operation of this CreateJobOperationDetails.
- Return type
str
- property tf_state_base64_encoded¶
[Required] Gets the tf_state_base64_encoded of this CreateImportTfStateJobOperationDetails. Base64-encoded state file
- Returns
The tf_state_base64_encoded of this CreateImportTfStateJobOperationDetails.
- Return type
str