Skip to content

Commit b49e9ba

Browse files
authored
[Monitor Query] Prep release (#42290)
- Update changelog for release - Rename Azure AD references with Microsoft Entra ID. Signed-off-by: Paul Van Eck <[email protected]>
1 parent 3156895 commit b49e9ba

17 files changed

+18
-20
lines changed

sdk/monitor/azure-monitor-query/CHANGELOG.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Release History
22

3-
## 2.0.0 (Unreleased)
4-
5-
### Features Added
3+
## 2.0.0 (2025-07-30)
64

75
### Breaking Changes
86

sdk/monitor/azure-monitor-query/samples/async_samples/sample_authentication_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
USAGE:
99
python sample_authentication_async.py
1010
11-
This example uses DefaultAzureCredential, which requests a token from Azure Active Directory.
11+
This example uses DefaultAzureCredential, which requests a token from Microsoft Entra ID.
1212
For more information on DefaultAzureCredential, see https://learn.microsoft.com/python/api/overview/azure/identity-readme?view=azure-python#defaultazurecredential.
1313
"""
1414
import asyncio

sdk/monitor/azure-monitor-query/samples/async_samples/sample_batch_query_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Set the environment variables with your own values before running the sample:
1111
1) LOGS_WORKSPACE_ID - The The first (primary) workspace ID.
1212
13-
This example uses DefaultAzureCredential, which requests a token from Azure Active Directory.
13+
This example uses DefaultAzureCredential, which requests a token from Microsoft Entra ID.
1414
For more information on DefaultAzureCredential, see https://learn.microsoft.com/python/api/overview/azure/identity-readme?view=azure-python#defaultazurecredential.
1515
1616
**Note** - Although this example uses pandas to print the response, it's optional and

sdk/monitor/azure-monitor-query/samples/async_samples/sample_log_query_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Set the environment variables with your own values before running the sample:
1212
1) LOGS_WORKSPACE_ID - The first (primary) workspace ID.
1313
14-
This example uses DefaultAzureCredential, which requests a token from Azure Active Directory.
14+
This example uses DefaultAzureCredential, which requests a token from Microsoft Entra ID.
1515
For more information on DefaultAzureCredential, see https://learn.microsoft.com/python/api/overview/azure/identity-readme?view=azure-python#defaultazurecredential.
1616
1717
**Note** - Although this example uses pandas to print the response, it's optional and

sdk/monitor/azure-monitor-query/samples/async_samples/sample_logs_query_visualization_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
2222
The "plotly" library can also be installed with `pip install plotly`.
2323
24-
This example uses DefaultAzureCredential, which requests a token from Azure Active Directory.
24+
This example uses DefaultAzureCredential, which requests a token from Microsoft Entra ID.
2525
For more information on DefaultAzureCredential, see https://learn.microsoft.com/python/api/overview/azure/identity-readme?view=azure-python#defaultazurecredential.
2626
"""
2727
import asyncio

sdk/monitor/azure-monitor-query/samples/async_samples/sample_resource_logs_query_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Set the environment variables with your own values before running the sample:
1313
1) LOGS_RESOURCE_ID - The resource ID. Example: `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}`
1414
15-
This example uses DefaultAzureCredential, which requests a token from Azure Active Directory.
15+
This example uses DefaultAzureCredential, which requests a token from Microsoft Entra ID.
1616
For more information on DefaultAzureCredential, see https://learn.microsoft.com/python/api/overview/azure/identity-readme?view=azure-python#defaultazurecredential.
1717
1818
**Note** - Although this example uses pandas to print the response, it's optional and

sdk/monitor/azure-monitor-query/samples/notebooks/sample_machine_learning_sklearn.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"\n",
8484
"An authenticated client is needed to query Azure Monitor Logs. The following code shows how to create a `LogsQueryClient` using `DefaultAzureCredential`.\n",
8585
"\n",
86-
"Note, that `LogsQueryClient` typically only supports authentication with Azure Active Directory (Azure AD) token credentials. However, we can pass in a custom authentication policy to enable the use of API keys. This allows the client to query the [demo workspace](https://learn.microsoft.com/azure/azure-monitor/logs/api/access-api#authenticate-with-a-demo-api-key). Do note that the availability and access to this demo workspace is subject to change, and it is recommended to use your own Log Analytics workspace."
86+
"Note, that `LogsQueryClient` typically only supports authentication with Microsoft Entra ID token credentials. However, we can pass in a custom authentication policy to enable the use of API keys. This allows the client to query the [demo workspace](https://learn.microsoft.com/azure/azure-monitor/logs/api/access-api#authenticate-with-a-demo-api-key). Do note that the availability and access to this demo workspace is subject to change, and it is recommended to use your own Log Analytics workspace."
8787
]
8888
},
8989
{
@@ -740,7 +740,7 @@
740740
"\n",
741741
"Optionally, we can upload detected anomalies to a custom table in a Log Analytics workspace. This can be useful for further analysis or visualization.\n",
742742
"\n",
743-
"To send data to your Log Analytics workspace, you need a registered Azure Active Directory application, custom table, data collection endpoint (DCE), and data collection rule (DCR). You also need to assign permissions to data collection rule so that the Azure AD application can upload.\n",
743+
"To send data to your Log Analytics workspace, you need a registered Microsoft Entra ID application, custom table, data collection endpoint (DCE), and data collection rule (DCR). You also need to assign permissions to data collection rule so that the Azure AD application can upload.\n",
744744
"\n",
745745
"Use the following tutorial for specifics on creating the prerequisites: [Tutorial: Send data to Azure Monitor Logs with Logs ingestion API (Azure portal) ](https://learn.microsoft.com/azure/azure-monitor/logs/tutorial-logs-ingestion-portal)."
746746
]

sdk/monitor/azure-monitor-query/samples/sample_authentication.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
USAGE:
99
python sample_authentication.py
1010
11-
This example uses DefaultAzureCredential, which requests a token from Azure Active Directory.
11+
This example uses DefaultAzureCredential, which requests a token from Microsoft Entra ID.
1212
For more information on DefaultAzureCredential, see https://learn.microsoft.com/python/api/overview/azure/identity-readme?view=azure-python#defaultazurecredential.
1313
"""
1414

sdk/monitor/azure-monitor-query/samples/sample_batch_query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Set the environment variables with your own values before running the sample:
1111
1) LOGS_WORKSPACE_ID - The The first (primary) workspace ID.
1212
13-
This example uses DefaultAzureCredential, which requests a token from Azure Active Directory.
13+
This example uses DefaultAzureCredential, which requests a token from Microsoft Entra ID.
1414
For more information on DefaultAzureCredential, see https://learn.microsoft.com/python/api/overview/azure/identity-readme?view=azure-python#defaultazurecredential.
1515
1616
**Note** - Although this example uses pandas to print the response, it's optional and

sdk/monitor/azure-monitor-query/samples/sample_log_query_multiple_workspaces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
1) LOGS_WORKSPACE_ID - The first (primary) workspace ID.
1313
2) SECONDARY_WORKSPACE_ID - An additional workspace.
1414
15-
This example uses DefaultAzureCredential, which requests a token from Azure Active Directory.
15+
This example uses DefaultAzureCredential, which requests a token from Microsoft Entra ID.
1616
For more information on DefaultAzureCredential, see https://learn.microsoft.com/python/api/overview/azure/identity-readme?view=azure-python#defaultazurecredential.
1717
1818
**Note** - Although this example uses pandas to print the response, it's optional and

0 commit comments

Comments
 (0)