Skip to content

Commit 8e559ac

Browse files
Merge pull request #218980 from deeikele/deeikele/audit-ci
Remove CLI/SDK until released in prod
2 parents 04ca7f8 + 9d02e5e commit 8e559ac

File tree

1 file changed

+1
-32
lines changed

1 file changed

+1
-32
lines changed

articles/machine-learning/how-to-create-manage-compute-instance.md

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -739,38 +739,7 @@ To create a compute instance, you'll need permissions for the following actions:
739739
740740
Once a compute instance is deployed, it does not get automatically updated. Microsoft [releases](azure-machine-learning-ci-image-release-notes.md) new VM images on a monthly basis. To understand options for keeping recent with the latest version, see [vulnerability management](concept-vulnerability-management.md#compute-instance).
741741
742-
To keep track of whether a compute instance's operating system version is current, you could query an instance's version using the Studio UI, CLI and SDK.
743-
744-
# [Python SDK](#tab/python)
745-
746-
[!INCLUDE [sdk v2](../../includes/machine-learning-sdk-v2.md)]
747-
748-
```python
749-
from azure.ai.ml.entities import ComputeInstance, AmlCompute
750-
751-
# Display operating system version
752-
instance = ml_client.compute.get("myci")
753-
print instance.os_image_metadata
754-
```
755-
756-
For more information on the classes, methods, and parameters used in this example, see the following reference documents:
757-
758-
* [`AmlCompute` class](/python/api/azure-ai-ml/azure.ai.ml.entities.amlcompute)
759-
* [`ComputeInstance` class](/python/api/azure-ai-ml/azure.ai.ml.entities.computeinstance)
760-
761-
# [Azure CLI](#tab/azure-cli)
762-
763-
[!INCLUDE [cli v2](../../includes/machine-learning-cli-v2.md)]
764-
765-
```azurecli
766-
az ml compute show --name "myci"
767-
```
768-
769-
# [Studio](#tab/azure-studio)
770-
771-
In your workspace in Azure Machine Learning studio, select Compute, then select compute instance on the top. Select a compute instance's compute name to see its properties including the current operating system. When a more recent instance OS version is, use the creation wizard to create a new instance. Enable 'audit and observe compute instance os version' under the previews management panel to see these preview properties.
772-
773-
---
742+
To keep track of whether an instance's operating system version is current, you could query its version using the Studio UI. In your workspace in Azure Machine Learning studio, select Compute, then select compute instance on the top. Select a compute instance's compute name to see its properties including the current operating system. Enable 'audit and observe compute instance os version' under the previews management panel to see these preview properties.
774743
775744
Administrators can use [Azure Policy](./../governance/policy/overview.md) definitions to audit instances that are running on outdated operating system versions across workspaces and subscriptions. The following is a sample policy:
776745

0 commit comments

Comments
 (0)