Skip to content

Commit 5368543

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into perfUpdate
2 parents a3dc180 + db448f5 commit 5368543

File tree

6 files changed

+81
-41
lines changed

6 files changed

+81
-41
lines changed

articles/governance/resource-graph/concepts/query-language.md

Lines changed: 56 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
22
title: Understand the query language
33
description: Describes Resource Graph tables and the available Kusto data types, operators, and functions usable with Azure Resource Graph.
4-
ms.date: 12/18/2023
4+
ms.date: 01/22/2023
55
ms.topic: conceptual
6-
ms.author: davidsmatlak
7-
author: davidsmatlak
86
---
97

108
# Understanding the Azure Resource Graph query language
@@ -28,39 +26,65 @@ This article covers the language components supported by Resource Graph:
2826

2927
## Resource Graph tables
3028

31-
Resource Graph provides several tables for the data it stores about Azure Resource Manager resource
32-
types and their properties. Some tables can be used with `join` or `union` operators to get
33-
properties from related resource types. Here's the list of tables available in Resource Graph:
34-
35-
|Resource Graph table |Can `join` other tables? |Description |
36-
|---|---|---|
37-
|Resources | Yes |The default table if none defined in the query. Most Resource Manager resource types and properties are here. |
38-
|ResourceContainers | Yes |Includes management group (`Microsoft.Management/managementGroups`), subscription (`Microsoft.Resources/subscriptions`) and resource group (`Microsoft.Resources/subscriptions/resourcegroups`) resource types and data. |
39-
|AdvisorResources | Yes |Includes resources _related_ to `Microsoft.Advisor`. |
40-
|AlertsManagementResources | Yes |Includes resources _related_ to `Microsoft.AlertsManagement`. |
41-
|DesktopVirtualizationResources | Yes |Includes resources _related_ to `Microsoft.DesktopVirtualization`. |
42-
|ExtendedLocationResources | Yes |Includes resources _related_ to `Microsoft.ExtendedLocation`. |
43-
|GuestConfigurationResources | Yes |Includes resources _related_ to `Microsoft.GuestConfiguration`. |
44-
|HealthResources| Yes |Includes resources _related_ to `Microsoft.ResourceHealth/availabilitystatuses`. |
45-
|IoTSecurityResources | Yes |Includes resources _related_ to `Microsoft.IoTSecurity`. |
46-
|KubernetesConfigurationResources | Yes |Includes resources _related_ to `Microsoft.KubernetesConfiguration`. |
47-
|MaintenanceResources | Yes |Includes resources _related_ to `Microsoft.Maintenance`. |
48-
|PatchAssessmentResources| Yes |Includes resources _related_ to Azure Virtual Machines patch assessment. |
49-
|PatchInstallationResources| Yes |Includes resources _related_ to Azure Virtual Machines patch installation. |
50-
|PolicyResources | Yes |Includes resources _related_ to `Microsoft.PolicyInsights`. |
51-
|RecoveryServicesResources | Yes |Includes resources _related_ to `Microsoft.DataProtection` and `Microsoft.RecoveryServices`. |
52-
|SecurityResources | Yes |Includes resources _related_ to `Microsoft.Security`. |
53-
|ServiceHealthResources | Yes |Includes resources _related_ to `Microsoft.ResourceHealth/events`. |
54-
|WorkloadMonitorResources | Yes |Includes resources _related_ to `Microsoft.WorkloadMonitor`. |
55-
56-
For a complete list, including resource types, go to [Reference: Supported tables and resource types](../reference/supported-tables-resources.md).
29+
Resource Graph provides several tables for the data it stores about Azure Resource Manager resource types and their properties. Resource Graph tables can be used with the `join` operator to get properties from related resource types.
30+
31+
Resource Graph tables support the `join` flavors:
32+
- [innerunique](/azure/data-explorer/kusto/query/join-innerunique)
33+
- [inner](/azure/data-explorer/kusto/query/join-inner)
34+
- [leftouter](/azure/data-explorer/kusto/query/join-leftouter)
35+
- [fullouter](/azure/data-explorer/kusto/query/join-fullouter)
36+
37+
| Resource Graph table | Can `join` other tables? | Description |
38+
| --- | --- | --- |
39+
| AdvisorResources | Yes | Includes resources _related_ to `Microsoft.Advisor`. |
40+
| AlertsManagementResources | Yes | Includes resources _related_ to `Microsoft.AlertsManagement`. |
41+
| AppServiceResources | Yes | Includes resources _related_ to `Microsoft.Web`. |
42+
| AuthorizationResources | Yes | Includes resources _related_ to `Microsoft.Authorization`. |
43+
| AWSResources | Yes | Includes resources _related_ to `Microsoft.AwsConnector`. |
44+
| AzureBusinessContinuityResources | Yes | Includes resources _related_ to `Microsoft.AzureBusinessContinuity`. |
45+
| ChaosResources | Yes | Includes resources _related_ to `Microsoft.Chaos`. |
46+
| CommunityGalleryResources | Yes | Includes resources _related_ to `Microsoft.Compute`. |
47+
| DesktopVirtualizationResources | Yes | Includes resources _related_ to `Microsoft.DesktopVirtualization`. |
48+
| DnsResources | Yes | Includes resources _related_ to `Microsoft.Network`. |
49+
| EdgeOrderResources | Yes | Includes resources _related_ to `Microsoft.EdgeOrder`. |
50+
| ElasticsanResources | Yes | Includes resources _related_ to `Microsoft.ElasticSan`. |
51+
| ExtendedLocationResources | Yes | Includes resources _related_ to `Microsoft.ExtendedLocation`. |
52+
| FeatureResources | Yes | Includes resources _related_ to `Microsoft.Features`. |
53+
| GuestConfigurationResources | Yes | Includes resources _related_ to `Microsoft.GuestConfiguration`. |
54+
| HealthResourceChanges | Yes | Includes resources _related_ to `Microsoft.Resources`. |
55+
| HealthResources| Yes | Includes resources _related_ to `Microsoft.ResourceHealth`. |
56+
| InsightsResources | Yes | Includes resources _related_ to `Microsoft.Insights`. |
57+
| IoTSecurityResources | Yes | Includes resources _related_ to `Microsoft.IoTSecurity` and `Microsoft.IoTFirmwareDefense`. |
58+
| KubernetesConfigurationResources | Yes | Includes resources _related_ to `Microsoft.KubernetesConfiguration`. |
59+
| KustoResources | Yes | Includes resources _related_ to `Microsoft.Kusto`. |
60+
| MaintenanceResources | Yes | Includes resources _related_ to `Microsoft.Maintenance`. |
61+
| ManagedServicesResources | Yes | Includes resources _related_ to `Microsoft.ManagedServices`. |
62+
| MigrateResources | Yes | Includes resources _related_ to `Microsoft.OffAzure`. |
63+
| NetworkResources | Yes | Includes resources _related_ to `Microsoft.Network`. |
64+
| OrbitalResources | Yes | Includes resources _related_ to `Microsoft.Orbital`. |
65+
| PatchAssessmentResources| Yes | Includes resources _related_ to Azure Virtual Machines patch assessment `Microsoft.Compute` and `Microsoft.HybridCompute`. |
66+
| PatchInstallationResources| Yes | Includes resources _related_ to Azure Virtual Machines patch installation `Microsoft.Compute` and `Microsoft.HybridCompute`. |
67+
| PolicyResources | Yes | Includes resources _related_ to `Microsoft.PolicyInsights`. |
68+
| RecoveryServicesResources | Yes | Includes resources _related_ to `Microsoft.DataProtection` and `Microsoft.RecoveryServices`. |
69+
| ResourceChanges | Yes | Includes resources _related_ to `Microsoft.Resources`. |
70+
| ResourceContainerChanges | Yes | Includes resources _related_ to `Microsoft.Resources`. |
71+
| ResourceContainers | Yes | Includes management group (`Microsoft.Management/managementGroups`), subscription (`Microsoft.Resources/subscriptions`) and resource group (`Microsoft.Resources/subscriptions/resourcegroups`) resource types and data. |
72+
| Resources | Yes | The default table if a table isn't defined in the query. Most Resource Manager resource types and properties are here. |
73+
| SecurityResources | Yes | Includes resources _related_ to `Microsoft.Security`. |
74+
| ServiceFabricResources | Yes | Includes resources _related_ to `Microsoft.ServiceFabric`. |
75+
| ServiceHealthResources | Yes | Includes resources _related_ to `Microsoft.ResourceHealth/events`. |
76+
| SpotResources | Yes | Includes resources _related_ to `Microsoft.Compute`. |
77+
| SupportResources | Yes | Includes resources _related_ to `Microsoft.Support`. |
78+
| TagsResources | Yes | Includes resources _related_ to `Microsoft.Resources/tagnamespaces`. |
79+
80+
For a list of tables that includes resource types, go to [Azure Resource Graph table and resource type reference](../reference/supported-tables-resources.md).
5781

5882
> [!NOTE]
5983
> _Resources_ is the default table. While querying the _Resources_ table, it isn't required to
60-
> provide the table name unless `join` or `union` are used. However, the recommended practice is to
84+
> provide the table name unless `join` or `union` are used. But the recommended practice is to
6185
> always include the initial table in the query.
6286
63-
Use Resource Graph Explorer in the portal to discover what resource types are available in each
87+
Use Resource Graph Explorer in the portal to discover which resource types are available in each
6488
table. As an alternative, use a query such as `<tableName> | distinct type` to get a list of
6589
resource types the given Resource Graph table supports that exist in your environment.
6690

@@ -170,7 +194,7 @@ Here's the list of KQL tabular operators supported by Resource Graph with specif
170194
|[count](/azure/data-explorer/kusto/query/countoperator) |[Count key vaults](../samples/starter.md#count-key-vault-resources) | |
171195
|[distinct](/azure/data-explorer/kusto/query/distinctoperator) |[Show resources that contain storage](../samples/starter.md#show-resources-that-contain-storage) | |
172196
|[extend](/azure/data-explorer/kusto/query/extendoperator) |[Count virtual machines by OS type](../samples/starter.md#count-virtual-machines-by-os-type) | |
173-
|[join](/azure/data-explorer/kusto/query/joinoperator) |[Key vault with subscription name](../samples/advanced.md#key-vaults-with-subscription-name) |Join flavors supported: [innerunique](/azure/data-explorer/kusto/query/joinoperator#default-join-flavor), [inner](/azure/data-explorer/kusto/query/joinoperator#inner-join), [leftouter](/azure/data-explorer/kusto/query/joinoperator#left-outer-join). Limit of three `join` in a single query, one of which might be a cross-table `join`. If all cross-table `join` use is between _Resource_ and _ResourceContainers_, then three cross-table `join` are allowed. Custom join strategies, such as broadcast join, aren't allowed. For which tables can use `join`, go to [Resource Graph tables](#resource-graph-tables). |
197+
|[join](/azure/data-explorer/kusto/query/joinoperator) |[Key vault with subscription name](../samples/advanced.md#key-vaults-with-subscription-name) |Join flavors supported: [innerunique](/azure/data-explorer/kusto/query/joinoperator#default-join-flavor), [inner](/azure/data-explorer/kusto/query/joinoperator#inner-join), [leftouter](/azure/data-explorer/kusto/query/joinoperator#left-outer-join), and [fullouter](/azure/data-explorer/kusto/query/join-fullouter). Limit of three `join` in a single query, one of which might be a cross-table `join`. If all cross-table `join` use is between _Resource_ and _ResourceContainers_, then three cross-table `join` are allowed. Custom join strategies, such as broadcast join, aren't allowed. For which tables can use `join`, go to [Resource Graph tables](#resource-graph-tables). |
174198
|[limit](/azure/data-explorer/kusto/query/limitoperator) |[List all public IP addresses](../samples/starter.md#list-all-public-ip-addresses) |Synonym of `take`. Doesn't work with [Skip](./work-with-data.md#skipping-records). |
175199
|[mvexpand](/azure/data-explorer/kusto/query/mvexpandoperator) | | Legacy operator, use `mv-expand` instead. _RowLimit_ max of 400. The default is 128. |
176200
|[mv-expand](/azure/data-explorer/kusto/query/mvexpandoperator) |[List Azure Cosmos DB with specific write locations](../samples/advanced.md#list-azure-cosmos-db-with-specific-write-locations) |_RowLimit_ max of 400. The default is 128. Limit of 2 `mv-expand` in a single query.|

articles/governance/resource-graph/reference/supported-tables-resources.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
---
22
title: Supported Azure Resource Manager resource types
33
description: Provide a list of the Azure Resource Manager resource types supported by Azure Resource Graph and Change History.
4-
ms.date: 12/28/2023
4+
ms.date: 01/22/2023
55
ms.topic: reference
66
ms.custom: generated
7-
ms.author: davidsmatlak
8-
author: davidsmatlak
97
---
108

119
# Azure Resource Graph table and resource type reference
@@ -1026,10 +1024,6 @@ For sample queries for this table, see [Resource Graph sample queries for servic
10261024
- microsoft.compute/skuspotevictionrate/location
10271025
- microsoft.compute/skuspotpricehistory/ostype/location
10281026

1029-
## workloadmonitorresources
1030-
1031-
- microsoft.workloadmonitor/monitors
1032-
10331027
## Next steps
10341028

10351029
- Learn more about the [query language](../concepts/query-language.md).

articles/machine-learning/how-to-troubleshoot-validation-for-schema-failed-error.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ author: s-polly
99
ms.author: scottpolly
1010
ms.reviewer: sgilley
1111
ms.topic: troubleshooting
12-
ms.date: 01/06/2023
12+
ms.date: 01/22/2024
1313
---
1414

1515
# Troubleshoot Validation For Schema Failed Error

articles/postgresql/flexible-server/concepts-query-store.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,10 @@ This function discards all statistics gathered in-memory by Query Store (that is
277277

278278

279279
## Limitations and known issues
280+
[!INCLUDE [Note Query store and Azure storage compability](includes/note-query-store-azure-storage-compability.md)]
280281

281-
- If an Azure Database for PostgreSQL flexible server instance has the parameter `default_transaction_read_only` set to on, Query Store doesn't capture any data.
282+
### Read-only mode
283+
When an Azure Database for PostgreSQL - Flexible Server instance is in read-only mode, such as when the `default_transaction_read_only` parameter is set to `on`, or if read-only mode is [automatically enabled due to reaching storage capacity](concepts-limits.md#storage), Query Store does not capture any data.
282284

283285
## Related content
284286

articles/postgresql/flexible-server/concepts-storage-extension.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,9 @@ When the Azure Database for PostgreSQL flexible server administrator decides tha
197197
SELECT * FROM azure_storage.account_user_remove('mystorageaccount', 'support');
198198
```
199199

200+
## Limitations and known issues
201+
[!INCLUDE [Note Query store and Azure storage compability](includes/note-query-store-azure-storage-compability.md)]
202+
200203
## Next steps
201204

202205
- If you don't see an extension that you'd like to use, let us know. Vote for existing requests or create new feedback requests in our [feedback forum](https://feedback.azure.com/d365community/forum/c5e32b97-ee24-ec11-b6e6-000d3a4f0da0).
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
author: AlicjaKucharczyk
3+
ms.service: postgresql
4+
ms.subservice: flexible-server
5+
ms.topic: include
6+
ms.date: 01/22/2024
7+
ms.author: alkuchar
8+
---
9+
### Query store and Azure storage compatibility
10+
11+
Due to compatibility issues, the Query store and Azure storage extensions can't be enabled at the same time. Users are advised to enable only one of these extensions at a time to ensure proper functioning and avoid potential conflicts.
12+
13+
* **To use Azure storage**: Disable the query store by setting the parameter `pg_qs.query_capture_mode` to `NONE`. This parameter is dynamic, so no restart is needed.
14+
15+
* **To use Query store**: Disable the Azure storage extension by issuing `DROP EXTENSION azure_storage;`. Additionally, remove Azure storage from the `shared_preload_libraries`. Restart your database server after this change.
16+
17+
These steps are necessary to prevent conflicts and ensure your system operates correctly. We're working to resolve these compatibility issues and will keep you informed of any updates in future releases.

0 commit comments

Comments
 (0)