Skip to content

Commit 16228ae

Browse files
Suyash ChoudharyCopilot
andcommitted
Fix S3WithHmac source-type allowed values for 2025-12-01 API
Update source_type enum to match 2025-12-01 API spec: - Added: ALIBABA, DELL_EMC, OTHER - Removed: BACKBLAZE, CLOUDFLARE - Updated test to use MINIO instead of removed BACKBLAZE - Updated HISTORY.rst changelog Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 2d9e671 commit 16228ae

4 files changed

Lines changed: 189 additions & 234 deletions

File tree

src/storage-mover/HISTORY.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Release History
99
* Added `connection` resource commands (create, delete, list, show, update, wait).
1010
* Added S3-compatible storage endpoint type (`create-for-s3-with-hmac`, `update-for-s3-with-hmac`).
1111
* Added `schedule`, `connections`, `preserve-permissions`, and `data-integrity-validation` parameters to job definition commands.
12+
* Fixed allowed values for S3WithHmac `source-type` parameter to match 2025-12-01 API spec: added `ALIBABA`, `DELL_EMC`, `OTHER` and removed deprecated `BACKBLAZE`, `CLOUDFLARE`.
1213

1314
1.2.1
1415
+++++

src/storage-mover/azext_storage_mover/_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def load_arguments(self, _): # pylint: disable=unused-argument
6868

6969
with self.argument_context('storage-mover endpoint create-for-s3-with-hmac') as c:
7070
c.argument('source_uri', help='The URI which points to the S3-compatible source.')
71-
c.argument('source_type', arg_type=get_enum_type(['BACKBLAZE', 'CLOUDFLARE', 'GCS', 'IBM', 'MINIO']),
71+
c.argument('source_type', arg_type=get_enum_type(['ALIBABA', 'DELL_EMC', 'GCS', 'IBM', 'MINIO', 'OTHER']),
7272
help='The source type of the S3WithHmac endpoint.')
7373
c.argument('other_source_type_description',
7474
help='The description for other source type of S3WithHmac endpoint.')

0 commit comments

Comments
 (0)