vw_database_migrations_mongo_to_cosmos_db_ru_mongo
Creates, updates, deletes, gets or lists a vw_database_migrations_mongo_to_cosmos_db_ru_mongo
resource.
Overview
Name | vw_database_migrations_mongo_to_cosmos_db_ru_mongo |
Type | View |
Id | azure.data_migration.vw_database_migrations_mongo_to_cosmos_db_ru_mongo |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
JSON_EXTRACT(properties, '$.kind') as "kind",
JSON_EXTRACT(properties, '$.scope') as "scope",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.migrationStatus') as "migration_status",
JSON_EXTRACT(properties, '$.startedOn') as "started_on",
JSON_EXTRACT(properties, '$.endedOn') as "ended_on",
JSON_EXTRACT(properties, '$.migrationService') as "migration_service",
JSON_EXTRACT(properties, '$.migrationOperationId') as "migration_operation_id",
JSON_EXTRACT(properties, '$.migrationFailureError') as "migration_failure_error",
JSON_EXTRACT(properties, '$.provisioningError') as "provisioning_error",
JSON_EXTRACT(properties, '$.sourceMongoConnection') as "source_mongo_connection",
JSON_EXTRACT(properties, '$.targetMongoConnection') as "target_mongo_connection",
JSON_EXTRACT(properties, '$.collectionList') as "collection_list",
subscriptionId,
resourceGroupName,
targetResourceName,
migrationName
FROM azure.data_migration.database_migrations_mongo_to_cosmos_db_ru_mongo
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND targetResourceName = 'replace-me' AND migrationName = 'replace-me';
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
json_extract_path_text(properties, '$.kind') as "kind",
json_extract_path_text(properties, '$.scope') as "scope",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.migrationStatus') as "migration_status",
json_extract_path_text(properties, '$.startedOn') as "started_on",
json_extract_path_text(properties, '$.endedOn') as "ended_on",
json_extract_path_text(properties, '$.migrationService') as "migration_service",
json_extract_path_text(properties, '$.migrationOperationId') as "migration_operation_id",
json_extract_path_text(properties, '$.migrationFailureError') as "migration_failure_error",
json_extract_path_text(properties, '$.provisioningError') as "provisioning_error",
json_extract_path_text(properties, '$.sourceMongoConnection') as "source_mongo_connection",
json_extract_path_text(properties, '$.targetMongoConnection') as "target_mongo_connection",
json_extract_path_text(properties, '$.collectionList') as "collection_list",
subscriptionId,
resourceGroupName,
targetResourceName,
migrationName
FROM azure.data_migration.database_migrations_mongo_to_cosmos_db_ru_mongo
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND targetResourceName = 'replace-me' AND migrationName = 'replace-me';