Skip to content

Commit c88f132

Browse files
author
KARTIK KHULLAR
committed
Updated test and added History
1 parent 19286c5 commit c88f132

5 files changed

Lines changed: 7161 additions & 5599 deletions

File tree

src/storage-mover/HISTORY.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Release History
44
===============
55

6+
1.2.1
7+
+++++
8+
* Added system assigned MI creation as part of az storage-mover create-for-storage-container command.
9+
610
1.2.0
711
+++++
812
* Updated to the 2025-07-01 GA API version.

src/storage-mover/azext_storage_mover/custom.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ def _get_args_for_endpoint_for_storage_container(endpoint_name, resource_group,
2323
"storage_blob_container": {
2424
"blob_container_name": blob_container_name,
2525
"storage_account_resource_id": storage_account_resource_id,
26-
},
27-
"mi_system_assigned": "True"
26+
}
2827
}
2928
return args
3029

@@ -34,6 +33,7 @@ def endpoint_create_for_storage_container(cmd, endpoint_name, resource_group, st
3433
Create_Endpoint = Create(cmd.loader)
3534
args = _get_args_for_endpoint_for_storage_container(endpoint_name, resource_group, storage_mover_name,
3635
blob_container_name, storage_account_resource_id, description)
36+
args["mi_system_assigned"] = "True"
3737
return Create_Endpoint(args)
3838

3939

0 commit comments

Comments
 (0)