Assessment
A server-managed assessment of a migration's source configuration. Completed check results are immutable.
Assessment object
A server-managed assessment of a migration's source configuration. Completed check results are immutable.
- namestringBetaIDImmutable
The assessment resource name, in the format
migrations/{migration}/assessments/{assessment}.
- statestringBetaOutput only
Output-only. The aggregate assessment state.
ASSESSMENT_STATE_ASSESSINGASSESSMENT_STATE_READYASSESSMENT_STATE_AWAITING_ACKASSESSMENT_STATE_FAILEDASSESSMENT_STATE_EXPIREDASSESSMENT_STATE_NEEDS_ACTIONASSESSMENT_STATE_BLOCKED
- checksarray of objectBetaOutput only
Output-only. Results of the checks performed by this assessment.
Show child attributesHide child attributes
- check_idstringBetaOutput only
Output-only. Stable identifier of the check.
- verdictstringBetaOutput only
Output-only. The check verdict.
ASSESSMENT_CHECK_VERDICT_PASSASSESSMENT_CHECK_VERDICT_WARNINGASSESSMENT_CHECK_VERDICT_ACTION_REQUIREDASSESSMENT_CHECK_VERDICT_UNSUPPORTEDASSESSMENT_CHECK_VERDICT_ERROR
- blocks_migrationbooleanBetaOutput only
Output-only. Whether this result blocks migration from starting.
- reasonstringBetaOutput only
Output-only. Explanation of the result.
- databasestringBetaOutput only
Output-only. The source database the check evaluated. Unset for checks that assess the whole source server rather than a single database.
- detailsobjectBetaOutput only
Output-only. Measurements observed by this check. Absent when unavailable.
Show child attributesHide child attributes
- database_sizeobjectBetaOutput only
Output-only. Physical size of the source database observed by this check.
Show child attributesHide child attributes
- size_bytesint64BetaOutput only
Size reported by pg_database_size, in bytes. Zero is a measured empty size.
- long_transactionobjectBetaOutput only
Output-only. Age of the oldest source transaction observed by this check.
Show child attributesHide child attributes
- oldest_transaction_agestringBetaOutput only
Age of the oldest active transaction when assessed. Zero when none is active.
- create_timestringBetaOutput only
Output-only. The time when the assessment started.
- complete_timestringBetaOutput only
Output-only. The time when the assessment completed.
- expire_timestringBetaOutput only
Output-only. The time when the assessment expires.
Get a migration assessment Beta
GET
Gets a migration assessment run.
API scopes: postgres
Parameters
- namestringRequiredpath
Required. The assessment resource name, in the format
migrations/{migration}/assessments/{assessment}.
Response
Returns the Assessment object.
List migration assessments Beta
GET
Lists assessment runs for a migration.
API scopes: postgres
Parameters
- parentstringRequiredpath
Required. The parent migration resource name, in the format
migrations/{migration}.
- page_sizeint32query
The maximum number of assessments to return. The server default is 100; values above 1000 are capped to 1000.
- page_tokenstringquery
A page token from a previous call.
Response
Returns a list of Assessment objects.
Acknowledge assessment warnings Beta
POST
Acknowledges non-blocking warnings on a specific assessment.
API scopes: postgres
Parameters
- namestringRequiredpath
Required. The assessment resource name, in the format
migrations/{migration}/assessments/{assessment}.
Response
- namestring
The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the
nameshould be a resource name ending withoperations/{unique_id}.
- metadataobject
Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata.
- doneboolean
If the value is
false, it means the operation is still in progress. Iftrue, the operation is completed, and eithererrororresponseis available.
- errorobject
The error result of the operation in case of failure or cancellation.
Show child attributesHide child attributes
- error_codestring
Error codes returned by Databricks APIs to indicate specific failure conditions.
Show 81 possible values
UNKNOWNINTERNAL_ERRORTEMPORARILY_UNAVAILABLEIO_ERRORBAD_REQUESTSERVICE_UNDER_MAINTENANCEWORKSPACE_TEMPORARILY_UNAVAILABLEDEADLINE_EXCEEDEDCANCELLEDRESOURCE_EXHAUSTEDABORTEDNOT_FOUNDALREADY_EXISTSUNAUTHENTICATEDUNAVAILABLEINVALID_PARAMETER_VALUEENDPOINT_NOT_FOUNDMALFORMED_REQUESTINVALID_STATEPERMISSION_DENIEDFEATURE_DISABLEDCUSTOMER_UNAUTHORIZEDREQUEST_LIMIT_EXCEEDEDRESOURCE_CONFLICTUNPARSEABLE_HTTP_ERRORNOT_IMPLEMENTEDDATA_LOSSINVALID_STATE_TRANSITIONCOULD_NOT_ACQUIRE_LOCKRESOURCE_ALREADY_EXISTSRESOURCE_DOES_NOT_EXISTQUOTA_EXCEEDEDMAX_BLOCK_SIZE_EXCEEDEDMAX_READ_SIZE_EXCEEDEDPARTIAL_DELETEMAX_LIST_SIZE_EXCEEDEDDRY_RUN_FAILEDRESOURCE_LIMIT_EXCEEDEDDIRECTORY_NOT_EMPTYDIRECTORY_PROTECTEDMAX_NOTEBOOK_SIZE_EXCEEDEDMAX_CHILD_NODE_SIZE_EXCEEDEDSEARCH_QUERY_TOO_LONGSEARCH_QUERY_TOO_SHORTMANAGED_RESOURCE_GROUP_DOES_NOT_EXISTPERMISSION_NOT_PROPAGATEDDEPLOYMENT_TIMEOUTGIT_CONFLICTGIT_UNKNOWN_REFGIT_SENSITIVE_TOKEN_DETECTEDGIT_URL_NOT_ON_ALLOW_LISTGIT_REMOTE_ERRORPROJECTS_OPERATION_TIMEOUTIPYNB_FILE_IN_REPOINSECURE_PARTNER_RESPONSEMALFORMED_PARTNER_RESPONSEMETASTORE_DOES_NOT_EXISTDAC_DOES_NOT_EXISTCATALOG_DOES_NOT_EXISTSCHEMA_DOES_NOT_EXISTTABLE_DOES_NOT_EXISTSHARE_DOES_NOT_EXISTRECIPIENT_DOES_NOT_EXISTSTORAGE_CREDENTIAL_DOES_NOT_EXISTEXTERNAL_LOCATION_DOES_NOT_EXISTPRINCIPAL_DOES_NOT_EXISTPROVIDER_DOES_NOT_EXISTMETASTORE_ALREADY_EXISTSDAC_ALREADY_EXISTSCATALOG_ALREADY_EXISTSSCHEMA_ALREADY_EXISTSTABLE_ALREADY_EXISTSSHARE_ALREADY_EXISTSRECIPIENT_ALREADY_EXISTSSTORAGE_CREDENTIAL_ALREADY_EXISTSEXTERNAL_LOCATION_ALREADY_EXISTSPROVIDER_ALREADY_EXISTSCATALOG_NOT_EMPTYSCHEMA_NOT_EMPTYMETASTORE_NOT_EMPTYPROVIDER_SHARE_NOT_ACCESSIBLE
- messagestring
- stack_tracestring
- detailsarray of object
- responseobject
The normal, successful response of the operation.