Skip to content

Commit eca925b

Browse files
authored
Merge pull request #281571 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-docs (branch main)
2 parents d1262a8 + 0bf656b commit eca925b

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

articles/azure-cache-for-redis/monitor-cache-reference.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This article contains important reference material you need when yo
44
ms.date: 05/13/2024
55
ms.custom: horz-monitor
66
ms.topic: reference
7-
author: robb
7+
author: rboucher
88
ms.author: robb
99
ms.service: cache
1010
---
@@ -133,7 +133,11 @@ The following list provides details and more information about the supported Azu
133133
- Sets
134134
- The number of set operations to the cache during the specified reporting interval. This value is the sum of the following values from the Redis INFO all command: `cmdstat_set`, `cmdstat_hset`, `cmdstat_hmset`, `cmdstat_hsetnx`, `cmdstat_lset`, `cmdstat_mset`, `cmdstat_msetnx`, `cmdstat_setbit`, `cmdstat_setex`, `cmdstat_setrange`, and `cmdstat_setnx`.
135135
- Total Keys
136-
- The maximum number of keys in the cache during the past reporting time period. This number maps to `keyspace` from the Redis INFO command. Because of a limitation in the underlying metrics system for caches with clustering enabled, Total Keys return the maximum number of keys of the shard that had the maximum number of keys during the reporting interval.
136+
- The maximum number of keys in the cache during the past reporting time period. This number maps to `keyspace` from the Redis INFO command.
137+
138+
> [!IMPORTANT]
139+
> Because of a limitation in the underlying metrics system for caches with clustering enabled, Total Keys return the maximum number of keys of the shard that had the maximum number of keys during the reporting interval.
140+
137141
- Total Operations
138142
- The total number of commands processed by the cache server during the specified reporting interval. This value maps to `total_commands_processed` from the Redis INFO command. When Azure Cache for Redis is used purely for pub/sub, there are no metrics for `Cache Hits`, `Cache Misses`, `Gets`, or `Sets`, but there are `Total Operations` metrics that reflect the cache usage for pub/sub operations.
139143
- Used Memory

articles/machine-learning/how-to-identity-based-service-authentication.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -444,9 +444,10 @@ When you disable the admin user for ACR, Azure Machine Learning uses a managed i
444444
[!INCLUDE [cli v2](includes/machine-learning-cli-v2.md)]
445445

446446
```azurecli-interactive
447-
az ml workspace show -w <my workspace> \
448-
-g <my resource group>
449-
--query containerRegistry
447+
az ml workspace show --name <my workspace name> \
448+
--resource-group <my resource group> \
449+
--subscription <my subscription id> \
450+
--query container_registry
450451
```
451452

452453
This command returns a value similar to the following text. You only want the last portion of the text, which is the ACR instance name:
@@ -469,7 +470,7 @@ If ACR admin user is disallowed by subscription policy, you should first create
469470
[!INCLUDE [cli v2](includes/machine-learning-cli-v2.md)]
470471

471472
```azurecli-interactive
472-
az ml workspace create -w <workspace name> \
473+
az ml workspace create -n <workspace name> \
473474
-g <workspace resource group> \
474475
-l <region> \
475476
--container-registry /subscriptions/<subscription id>/resourceGroups/<acr resource group>/providers/Microsoft.ContainerRegistry/registries/<acr name>
@@ -561,7 +562,7 @@ Create machine learning compute cluster with system-assigned managed identity en
561562
[!INCLUDE [cli v2](includes/machine-learning-cli-v2.md)]
562563

563564
```azurecli-interactive
564-
az ml compute show --name <cluster name> -w <workspace> -g <resource group>
565+
az ml compute show --name <cluster name> -n <workspace> -g <resource group>
565566
```
566567

567568
Optionally, you can update the compute cluster to assign a user-assigned managed identity:
@@ -608,7 +609,7 @@ In this scenario, Azure Machine Learning service builds the training or inferenc
608609
[!INCLUDE [cli v2](includes/machine-learning-cli-v2.md)]
609610

610611
```azurecli-interactive
611-
az ml workspace show -w <workspace name> -g <resource group> --query identityPrincipalId
612+
az ml workspace show -n <workspace name> -g <resource group> --query identityPrincipalId
612613
```
613614

614615
1. Grant the Managed Identity Operator role:
@@ -628,7 +629,7 @@ In this scenario, Azure Machine Learning service builds the training or inferenc
628629
The following command demonstrates how to use the YAML file to create a connection with your workspace. Replace `<yaml file>`, `<workspace name>`, and `<resource group>` with the values for your configuration:
629630

630631
```azurecli-interactive
631-
az ml connection create --file <yml file> --resource-group <resource group> --workspace-name <workspace>
632+
az ml connection create --file <yml file> --resource-group <resource group> --name <workspace>
632633
```
633634

634635
1. Once the configuration is complete, you can use the base images from private ACR when building environments for training or inference. The following code snippet demonstrates how to specify the base image ACR and image name in an environment definition:

0 commit comments

Comments
 (0)