Skip to main content

vw_sql_managed_instances

Creates, updates, deletes, gets or lists a vw_sql_managed_instances resource.

Overview

Namevw_sql_managed_instances
TypeView
Idazure.azure_arc_data.vw_sql_managed_instances

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

SELECT
location as location,
tags as tags,
extendedLocation as extended_location,
sku as sku,
JSON_EXTRACT(properties, '$.dataControllerId') as "data_controller_id",
JSON_EXTRACT(properties, '$.admin') as "admin",
JSON_EXTRACT(properties, '$.startTime') as "start_time",
JSON_EXTRACT(properties, '$.endTime') as "end_time",
JSON_EXTRACT(properties, '$.k8sRaw') as "k8s_raw",
JSON_EXTRACT(properties, '$.basicLoginInformation') as "basic_login_information",
JSON_EXTRACT(properties, '$.lastUploadedDate') as "last_uploaded_date",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.activeDirectoryInformation') as "active_directory_information",
JSON_EXTRACT(properties, '$.licenseType') as "license_type",
JSON_EXTRACT(properties, '$.clusterId') as "cluster_id",
JSON_EXTRACT(properties, '$.extensionId') as "extension_id",
subscriptionId,
resourceGroupName,
sqlManagedInstanceName
FROM azure.azure_arc_data.sql_managed_instances
WHERE subscriptionId = 'replace-me';