FailureDetails

class oci.resource_manager.models.FailureDetails(**kwargs)

Bases: object

FailureDetails model.

Attributes

CODE_CUSTOM_TERRAFORM_PROVIDER_BUCKET_NOT_FOUND A constant which can be used with the code property of a FailureDetails.
CODE_CUSTOM_TERRAFORM_PROVIDER_UNSUPPORTED_OBJECT_SIZE A constant which can be used with the code property of a FailureDetails.
CODE_INTERNAL_SERVICE_ERROR A constant which can be used with the code property of a FailureDetails.
CODE_INVALID_WORKING_DIRECTORY A constant which can be used with the code property of a FailureDetails.
CODE_JOB_TIMEOUT A constant which can be used with the code property of a FailureDetails.
CODE_TERRAFORM_CONFIG_UNZIP_FAILED A constant which can be used with the code property of a FailureDetails.
CODE_TERRAFORM_CONFIG_VIRUS_FOUND A constant which can be used with the code property of a FailureDetails.
CODE_TERRAFORM_EXECUTION_ERROR A constant which can be used with the code property of a FailureDetails.
CODE_TERRAFORM_GIT_CHECKOUT_FAILURE A constant which can be used with the code property of a FailureDetails.
CODE_TERRAFORM_GIT_CLONE_FAILURE A constant which can be used with the code property of a FailureDetails.
CODE_TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_EMPTY_BUCKET A constant which can be used with the code property of a FailureDetails.
CODE_TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_NO_TF_FILE_PRESENT A constant which can be used with the code property of a FailureDetails.
CODE_TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_UNSUPPORTED_OBJECT_SIZE A constant which can be used with the code property of a FailureDetails.
code [Required] Gets the code of this FailureDetails.
message [Required] Gets the message of this FailureDetails.

Methods

__init__(**kwargs) Initializes a new FailureDetails object with values from keyword arguments.
CODE_CUSTOM_TERRAFORM_PROVIDER_BUCKET_NOT_FOUND = 'CUSTOM_TERRAFORM_PROVIDER_BUCKET_NOT_FOUND'

A constant which can be used with the code property of a FailureDetails. This constant has a value of “CUSTOM_TERRAFORM_PROVIDER_BUCKET_NOT_FOUND”

CODE_CUSTOM_TERRAFORM_PROVIDER_UNSUPPORTED_OBJECT_SIZE = 'CUSTOM_TERRAFORM_PROVIDER_UNSUPPORTED_OBJECT_SIZE'

A constant which can be used with the code property of a FailureDetails. This constant has a value of “CUSTOM_TERRAFORM_PROVIDER_UNSUPPORTED_OBJECT_SIZE”

CODE_INTERNAL_SERVICE_ERROR = 'INTERNAL_SERVICE_ERROR'

A constant which can be used with the code property of a FailureDetails. This constant has a value of “INTERNAL_SERVICE_ERROR”

CODE_INVALID_WORKING_DIRECTORY = 'INVALID_WORKING_DIRECTORY'

A constant which can be used with the code property of a FailureDetails. This constant has a value of “INVALID_WORKING_DIRECTORY”

CODE_JOB_TIMEOUT = 'JOB_TIMEOUT'

A constant which can be used with the code property of a FailureDetails. This constant has a value of “JOB_TIMEOUT”

CODE_TERRAFORM_CONFIG_UNZIP_FAILED = 'TERRAFORM_CONFIG_UNZIP_FAILED'

A constant which can be used with the code property of a FailureDetails. This constant has a value of “TERRAFORM_CONFIG_UNZIP_FAILED”

CODE_TERRAFORM_CONFIG_VIRUS_FOUND = 'TERRAFORM_CONFIG_VIRUS_FOUND'

A constant which can be used with the code property of a FailureDetails. This constant has a value of “TERRAFORM_CONFIG_VIRUS_FOUND”

CODE_TERRAFORM_EXECUTION_ERROR = 'TERRAFORM_EXECUTION_ERROR'

A constant which can be used with the code property of a FailureDetails. This constant has a value of “TERRAFORM_EXECUTION_ERROR”

CODE_TERRAFORM_GIT_CHECKOUT_FAILURE = 'TERRAFORM_GIT_CHECKOUT_FAILURE'

A constant which can be used with the code property of a FailureDetails. This constant has a value of “TERRAFORM_GIT_CHECKOUT_FAILURE”

CODE_TERRAFORM_GIT_CLONE_FAILURE = 'TERRAFORM_GIT_CLONE_FAILURE'

A constant which can be used with the code property of a FailureDetails. This constant has a value of “TERRAFORM_GIT_CLONE_FAILURE”

CODE_TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_EMPTY_BUCKET = 'TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_EMPTY_BUCKET'

A constant which can be used with the code property of a FailureDetails. This constant has a value of “TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_EMPTY_BUCKET”

CODE_TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_NO_TF_FILE_PRESENT = 'TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_NO_TF_FILE_PRESENT'

A constant which can be used with the code property of a FailureDetails. This constant has a value of “TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_NO_TF_FILE_PRESENT”

CODE_TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_UNSUPPORTED_OBJECT_SIZE = 'TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_UNSUPPORTED_OBJECT_SIZE'

A constant which can be used with the code property of a FailureDetails. This constant has a value of “TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_UNSUPPORTED_OBJECT_SIZE”

__init__(**kwargs)

Initializes a new FailureDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • code (str) – The value to assign to the code property of this FailureDetails. Allowed values for this property are: “INTERNAL_SERVICE_ERROR”, “TERRAFORM_EXECUTION_ERROR”, “TERRAFORM_CONFIG_UNZIP_FAILED”, “INVALID_WORKING_DIRECTORY”, “JOB_TIMEOUT”, “TERRAFORM_CONFIG_VIRUS_FOUND”, “TERRAFORM_GIT_CLONE_FAILURE”, “TERRAFORM_GIT_CHECKOUT_FAILURE”, “TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_EMPTY_BUCKET”, “TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_NO_TF_FILE_PRESENT”, “TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_UNSUPPORTED_OBJECT_SIZE”, “CUSTOM_TERRAFORM_PROVIDER_BUCKET_NOT_FOUND”, “CUSTOM_TERRAFORM_PROVIDER_UNSUPPORTED_OBJECT_SIZE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • message (str) – The value to assign to the message property of this FailureDetails.
code

[Required] Gets the code of this FailureDetails. Job failure reason.

Allowed values for this property are: “INTERNAL_SERVICE_ERROR”, “TERRAFORM_EXECUTION_ERROR”, “TERRAFORM_CONFIG_UNZIP_FAILED”, “INVALID_WORKING_DIRECTORY”, “JOB_TIMEOUT”, “TERRAFORM_CONFIG_VIRUS_FOUND”, “TERRAFORM_GIT_CLONE_FAILURE”, “TERRAFORM_GIT_CHECKOUT_FAILURE”, “TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_EMPTY_BUCKET”, “TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_NO_TF_FILE_PRESENT”, “TERRAFORM_OBJECT_STORAGE_CONFIG_SOURCE_UNSUPPORTED_OBJECT_SIZE”, “CUSTOM_TERRAFORM_PROVIDER_BUCKET_NOT_FOUND”, “CUSTOM_TERRAFORM_PROVIDER_UNSUPPORTED_OBJECT_SIZE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The code of this FailureDetails.
Return type:str
message

[Required] Gets the message of this FailureDetails. A human-readable error string.

Returns:The message of this FailureDetails.
Return type:str