Skip to content

Commit e6f3023

Browse files
YusakuNo1angryjinyan11angryjinyan1achauhan-scc
authored
Users/daviwu/release/azure ai ml/1.16.1 (#35768)
* add new rule category (#35743) Co-authored-by: Jin Yan <[email protected]> * fixing workspace arm template (issue: 28980) (#35746) * fixing sweep job service response parsing issue * fixing sweep job service response parsing issue * raising a work around for cmd job and spark job name lowering case * fixing black issue * fixing serialization issue in sweep job * include black fix * found and fix the issue in compute validation * fixing a corrupt wokspace arm template * removing unrelated changes * deleting blank line * adding a default tag to allow application insight as none * Update change log * Update _version.py file for 1.16.1 --------- Co-authored-by: angryjinyan11 <[email protected]> Co-authored-by: Jin Yan <[email protected]> Co-authored-by: Amit Chauhan <[email protected]>
1 parent d12e171 commit e6f3023

File tree

6 files changed

+13
-3
lines changed

6 files changed

+13
-3
lines changed

sdk/ml/azure-ai-ml/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Release History
22

3+
## 1.16.1 (2024-05-24)
4+
5+
### Bugs Fixed
6+
- [Fixed idle_time_before_shutdown_minutes not appearing in GET calls for Compute Instances.](https://github.com/Azure/azure-sdk-for-python/pull/35763)
7+
- [Add Dependency as a new rule category](https://github.com/Azure/azure-sdk-for-python/pull/35743)
8+
- [fixing workspace arm template](https://github.com/Azure/azure-sdk-for-python/pull/35746)
9+
310
## 1.16.0 (2024-05-14)
411

512
### Features Added

sdk/ml/azure-ai-ml/azure/ai/ml/_arm_deployments/arm_templates/workspace_base.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -795,9 +795,8 @@
795795
"description": "[parameters('description')]",
796796
"storageAccount": "[variables('storageAccount')]",
797797
"keyVault": "[variables('keyVault')]",
798-
"applicationInsights": "[variables('applicationInsights')]",
799798
"containerRegistry": "[if(not(equals(parameters('containerRegistryOption'), 'none')), variables('containerRegistry'), json('null'))]",
800-
"applicationInsights": "[if(not(equals(parameters('applicationInsightsOption'), 'none')), variables('containerRegistry'), json('null'))]",
799+
"applicationInsights": "[if(not(equals(parameters('applicationInsightsOption'), 'none')), variables('applicationInsights'), json('null'))]",
801800
"hbiWorkspace": "[parameters('confidential_data')]",
802801
"imageBuildCompute": "[parameters('imageBuildCompute')]",
803802
"publicNetworkAccess": "[parameters('publicNetworkAccess')]",

sdk/ml/azure-ai-ml/azure/ai/ml/_schema/workspace/networking.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ class PrivateEndpointOutboundRuleSchema(metaclass=PatchedSchemaMeta):
113113
OutboundRuleCategory.REQUIRED,
114114
OutboundRuleCategory.RECOMMENDED,
115115
OutboundRuleCategory.USER_DEFINED,
116+
OutboundRuleCategory.DEPENDENCY,
116117
],
117118
casing_transform=camel_to_snake,
118119
metadata={"description": "outbound rule category."},

sdk/ml/azure-ai-ml/azure/ai/ml/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Copyright (c) Microsoft Corporation. All rights reserved.
33
# ---------------------------------------------------------
44

5-
VERSION = "1.16.0"
5+
VERSION = "1.16.1"

sdk/ml/azure-ai-ml/azure/ai/ml/constants/_workspace.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ class OutboundRuleCategory:
2929
REQUIRED = "Required"
3030
RECOMMENDED = "Recommended"
3131
USER_DEFINED = "UserDefined"
32+
DEPENDENCY = "Dependency"
3233

3334

3435
class OutboundRuleType:

sdk/ml/azure-ai-ml/azure/ai/ml/operations/_workspace_operations_base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ def begin_create(
148148
workspace.tags = {}
149149
if workspace.tags.get("createdByToolkit") is None:
150150
workspace.tags["createdByToolkit"] = "sdk-v2-{}".format(VERSION)
151+
if workspace.tags.get("AttachAppInsightsToWorkspace") is None:
152+
workspace.tags["AttachAppInsightsToWorkspace"] = "false"
151153

152154
workspace.resource_group = resource_group
153155
(

0 commit comments

Comments
 (0)