Skip to content

Commit 47375c3

Browse files
azure-sdksssash18ChenxiJiang333
authored
[AutoPR azure-mgmt-storagemover]-generated-from-SDK Generation - Python-6019525 (#45738)
* Configurations: 'specification/storagemover/StorageMover.Management/tspconfig.yaml', API Version: 2025-12-01, SDK Release Type: stable, and CommitSHA: 'b8861b82d3b47a8cf9c2dfae4a29ec9ff41eacbf' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6019525 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * update --------- Co-authored-by: Suyash Choudhary <57896905+sssash18@users.noreply.github.com> Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com>
1 parent 73076ed commit 47375c3

94 files changed

Lines changed: 3725 additions & 447 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

sdk/storagemover/azure-mgmt-storagemover/CHANGELOG.md

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

3+
## 3.1.0 (2026-03-25)
4+
5+
### Features Added
6+
7+
- Client `StorageMoverMgmtClient` added operation group `connections`
8+
- Model `AzureMultiCloudConnectorEndpointProperties` added property `endpoint_kind`
9+
- Model `AzureStorageBlobContainerEndpointProperties` added property `endpoint_kind`
10+
- Model `AzureStorageNfsFileShareEndpointProperties` added property `endpoint_kind`
11+
- Model `AzureStorageSmbFileShareEndpointProperties` added property `endpoint_kind`
12+
- Enum `CredentialType` added member `AZURE_KEY_VAULT_S3_WITH_HMAC`
13+
- Model `EndpointBaseProperties` added property `endpoint_kind`
14+
- Enum `EndpointType` added member `S3_WITH_HMAC`
15+
- Model `JobDefinitionProperties` added property `connections`
16+
- Model `JobDefinitionProperties` added property `schedule`
17+
- Model `JobDefinitionProperties` added property `data_integrity_validation`
18+
- Model `JobDefinitionProperties` added property `preserve_permissions`
19+
- Model `JobDefinitionUpdateProperties` added property `connections`
20+
- Model `JobDefinitionUpdateProperties` added property `data_integrity_validation`
21+
- Model `JobRunProperties` added property `trigger_type`
22+
- Model `JobRunProperties` added property `scheduled_execution_time`
23+
- Model `JobRunProperties` added property `warnings`
24+
- Model `NfsMountEndpointProperties` added property `endpoint_kind`
25+
- Model `SmbMountEndpointProperties` added property `endpoint_kind`
26+
- Added model `AzureKeyVaultS3WithHmacCredentials`
27+
- Added model `Connection`
28+
- Added model `ConnectionProperties`
29+
- Added enum `ConnectionStatus`
30+
- Added enum `DataIntegrityValidation`
31+
- Added enum `EndpointKind`
32+
- Added enum `Frequency`
33+
- Added model `JobRunWarning`
34+
- Added model `S3WithHmacEndpointProperties`
35+
- Added model `S3WithHmacEndpointUpdateProperties`
36+
- Added enum `S3WithHmacSourceType`
37+
- Added model `ScheduleInfo`
38+
- Added enum `TriggerType`
39+
- Added operation group `ConnectionsOperations`
40+
341
## 3.0.0 (2025-09-04)
442

543
### Features Added
@@ -33,21 +71,17 @@
3371
### Breaking Changes
3472

3573
- This version introduces new hybrid models which have dual dictionary and model nature. And please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
36-
- Model `AgentUpdateParameters` deleted or renamed its instance variable `description`
37-
- Model `AgentUpdateParameters` deleted or renamed its instance variable `upload_limit_schedule`
38-
- Model `JobDefinitionUpdateParameters` deleted or renamed its instance variable `description`
39-
- Model `JobDefinitionUpdateParameters` deleted or renamed its instance variable `copy_mode`
40-
- Model `JobDefinitionUpdateParameters` deleted or renamed its instance variable `agent_name`
74+
- For the method breakings, please refer to https://aka.ms/azsdk/python/migrate/operations for migration.
75+
- Model `AgentUpdateParameters` moved instance variable `description` and `upload_limit_schedule` under property `properties`
76+
- Model `JobDefinitionUpdateParameters` moved instance variable `description`, `copy_mode` and `agent_name` under property `properties`
4177
- Model `ProjectUpdateParameters` deleted or renamed its instance variable `description`
4278
- Model `StorageMoverUpdateParameters` deleted or renamed its instance variable `description`
43-
- Deleted or renamed model `AgentList`
44-
- Deleted or renamed model `EndpointList`
45-
- Deleted or renamed model `JobDefinitionList`
46-
- Deleted or renamed model `JobRunList`
47-
- Deleted or renamed model `ProjectList`
48-
- Deleted or renamed model `StorageMoverList`
4979
- Deleted or renamed model `UploadLimit`
5080

81+
### Other Changes
82+
83+
- Deleted model `AgentList`/`EndpointList`/`JobDefinitionList`/`JobRunList`/`ProjectList`/`StorageMoverList` which actually were not used by SDK users
84+
5185
## 2.1.0 (2024-06-17)
5286

5387
### Features Added
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
recursive-include tests *.py *.json
2-
recursive-include samples *.py *.md
31
include *.md
4-
include azure/__init__.py
5-
include azure/mgmt/__init__.py
62
include LICENSE
73
include azure/mgmt/storagemover/py.typed
4+
recursive-include tests *.py
5+
recursive-include samples *.py *.md
6+
include azure/__init__.py
7+
include azure/mgmt/__init__.py
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
2-
"apiVersion": "2025-07-01",
3-
"commit": "af759847e0abab741437d695782ad62d7b2cce14",
2+
"apiVersion": "2025-12-01",
3+
"apiVersions": {
4+
"Microsoft.StorageMover": "2025-12-01"
5+
},
6+
"commit": "b8861b82d3b47a8cf9c2dfae4a29ec9ff41eacbf",
47
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
58
"typespec_src": "specification/storagemover/StorageMover.Management",
6-
"emitterVersion": "0.49.0"
9+
"emitterVersion": "0.61.0"
710
}

sdk/storagemover/azure-mgmt-storagemover/apiview-properties.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"azure.mgmt.storagemover.models.AgentUpdateParameters": "Microsoft.StorageMover.AgentUpdateParameters",
1010
"azure.mgmt.storagemover.models.AgentUpdateProperties": "Microsoft.StorageMover.AgentUpdateProperties",
1111
"azure.mgmt.storagemover.models.Credentials": "Microsoft.StorageMover.Credentials",
12+
"azure.mgmt.storagemover.models.AzureKeyVaultS3WithHmacCredentials": "Microsoft.StorageMover.AzureKeyVaultS3WithHmacCredentials",
1213
"azure.mgmt.storagemover.models.AzureKeyVaultSmbCredentials": "Microsoft.StorageMover.AzureKeyVaultSmbCredentials",
1314
"azure.mgmt.storagemover.models.EndpointBaseProperties": "Microsoft.StorageMover.EndpointBaseProperties",
1415
"azure.mgmt.storagemover.models.AzureMultiCloudConnectorEndpointProperties": "Microsoft.StorageMover.AzureMultiCloudConnectorEndpointProperties",
@@ -20,6 +21,8 @@
2021
"azure.mgmt.storagemover.models.AzureStorageNfsFileShareEndpointUpdateProperties": "Microsoft.StorageMover.AzureStorageNfsFileShareEndpointUpdateProperties",
2122
"azure.mgmt.storagemover.models.AzureStorageSmbFileShareEndpointProperties": "Microsoft.StorageMover.AzureStorageSmbFileShareEndpointProperties",
2223
"azure.mgmt.storagemover.models.AzureStorageSmbFileShareEndpointUpdateProperties": "Microsoft.StorageMover.AzureStorageSmbFileShareEndpointUpdateProperties",
24+
"azure.mgmt.storagemover.models.Connection": "Microsoft.StorageMover.Connection",
25+
"azure.mgmt.storagemover.models.ConnectionProperties": "Microsoft.StorageMover.ConnectionProperties",
2326
"azure.mgmt.storagemover.models.Endpoint": "Microsoft.StorageMover.Endpoint",
2427
"azure.mgmt.storagemover.models.EndpointBaseUpdateParameters": "Microsoft.StorageMover.EndpointBaseUpdateParameters",
2528
"azure.mgmt.storagemover.models.ErrorAdditionalInfo": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo",
@@ -34,6 +37,7 @@
3437
"azure.mgmt.storagemover.models.JobRunError": "Microsoft.StorageMover.JobRunError",
3538
"azure.mgmt.storagemover.models.JobRunProperties": "Microsoft.StorageMover.JobRunProperties",
3639
"azure.mgmt.storagemover.models.JobRunResourceId": "Microsoft.StorageMover.JobRunResourceId",
40+
"azure.mgmt.storagemover.models.JobRunWarning": "Microsoft.StorageMover.JobRunWarning",
3741
"azure.mgmt.storagemover.models.ManagedServiceIdentity": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity",
3842
"azure.mgmt.storagemover.models.NfsMountEndpointProperties": "Microsoft.StorageMover.NfsMountEndpointProperties",
3943
"azure.mgmt.storagemover.models.NfsMountEndpointUpdateProperties": "Microsoft.StorageMover.NfsMountEndpointUpdateProperties",
@@ -44,6 +48,9 @@
4448
"azure.mgmt.storagemover.models.ProjectUpdateParameters": "Microsoft.StorageMover.ProjectUpdateParameters",
4549
"azure.mgmt.storagemover.models.ProjectUpdateProperties": "Microsoft.StorageMover.ProjectUpdateProperties",
4650
"azure.mgmt.storagemover.models.Recurrence": "Microsoft.StorageMover.Recurrence",
51+
"azure.mgmt.storagemover.models.S3WithHmacEndpointProperties": "Microsoft.StorageMover.S3WithHmacEndpointProperties",
52+
"azure.mgmt.storagemover.models.S3WithHmacEndpointUpdateProperties": "Microsoft.StorageMover.S3WithHmacEndpointUpdateProperties",
53+
"azure.mgmt.storagemover.models.ScheduleInfo": "Microsoft.StorageMover.ScheduleInfo",
4754
"azure.mgmt.storagemover.models.SmbMountEndpointProperties": "Microsoft.StorageMover.SmbMountEndpointProperties",
4855
"azure.mgmt.storagemover.models.SmbMountEndpointUpdateProperties": "Microsoft.StorageMover.SmbMountEndpointUpdateProperties",
4956
"azure.mgmt.storagemover.models.SourceEndpoint": "Microsoft.StorageMover.SourceEndpoint",
@@ -70,13 +77,19 @@
7077
"azure.mgmt.storagemover.models.Minute": "Microsoft.StorageMover.Minute",
7178
"azure.mgmt.storagemover.models.DayOfWeek": "Microsoft.StorageMover.DayOfWeek",
7279
"azure.mgmt.storagemover.models.EndpointType": "Microsoft.StorageMover.EndpointType",
80+
"azure.mgmt.storagemover.models.EndpointKind": "Microsoft.StorageMover.EndpointKind",
7381
"azure.mgmt.storagemover.models.NfsVersion": "Microsoft.StorageMover.NfsVersion",
7482
"azure.mgmt.storagemover.models.CredentialType": "Microsoft.StorageMover.CredentialType",
83+
"azure.mgmt.storagemover.models.S3WithHmacSourceType": "Microsoft.StorageMover.S3WithHmacSourceType",
7584
"azure.mgmt.storagemover.models.ManagedServiceIdentityType": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType",
7685
"azure.mgmt.storagemover.models.JobType": "Microsoft.StorageMover.JobType",
7786
"azure.mgmt.storagemover.models.CopyMode": "Microsoft.StorageMover.CopyMode",
7887
"azure.mgmt.storagemover.models.JobRunStatus": "Microsoft.StorageMover.JobRunStatus",
88+
"azure.mgmt.storagemover.models.Frequency": "Microsoft.StorageMover.Frequency",
89+
"azure.mgmt.storagemover.models.DataIntegrityValidation": "Microsoft.StorageMover.DataIntegrityValidation",
90+
"azure.mgmt.storagemover.models.ConnectionStatus": "Microsoft.StorageMover.ConnectionStatus",
7991
"azure.mgmt.storagemover.models.JobRunScanStatus": "Microsoft.StorageMover.JobRunScanStatus",
92+
"azure.mgmt.storagemover.models.TriggerType": "Microsoft.StorageMover.TriggerType",
8093
"azure.mgmt.storagemover.operations.Operations.list": "Azure.ResourceManager.Operations.list",
8194
"azure.mgmt.storagemover.aio.operations.Operations.list": "Azure.ResourceManager.Operations.list",
8295
"azure.mgmt.storagemover.operations.StorageMoversOperations.get": "Microsoft.StorageMover.StorageMovers.get",
@@ -135,6 +148,14 @@
135148
"azure.mgmt.storagemover.aio.operations.JobDefinitionsOperations.start_job": "Microsoft.StorageMover.JobDefinitions.startJob",
136149
"azure.mgmt.storagemover.operations.JobDefinitionsOperations.stop_job": "Microsoft.StorageMover.JobDefinitions.stopJob",
137150
"azure.mgmt.storagemover.aio.operations.JobDefinitionsOperations.stop_job": "Microsoft.StorageMover.JobDefinitions.stopJob",
151+
"azure.mgmt.storagemover.operations.ConnectionsOperations.create_or_update": "Microsoft.StorageMover.Connections.createOrUpdate",
152+
"azure.mgmt.storagemover.aio.operations.ConnectionsOperations.create_or_update": "Microsoft.StorageMover.Connections.createOrUpdate",
153+
"azure.mgmt.storagemover.operations.ConnectionsOperations.get": "Microsoft.StorageMover.Connections.get",
154+
"azure.mgmt.storagemover.aio.operations.ConnectionsOperations.get": "Microsoft.StorageMover.Connections.get",
155+
"azure.mgmt.storagemover.operations.ConnectionsOperations.list": "Microsoft.StorageMover.Connections.list",
156+
"azure.mgmt.storagemover.aio.operations.ConnectionsOperations.list": "Microsoft.StorageMover.Connections.list",
157+
"azure.mgmt.storagemover.operations.ConnectionsOperations.begin_delete": "Microsoft.StorageMover.Connections.delete",
158+
"azure.mgmt.storagemover.aio.operations.ConnectionsOperations.begin_delete": "Microsoft.StorageMover.Connections.delete",
138159
"azure.mgmt.storagemover.operations.JobRunsOperations.get": "Microsoft.StorageMover.JobRuns.get",
139160
"azure.mgmt.storagemover.aio.operations.JobRunsOperations.get": "Microsoft.StorageMover.JobRuns.get",
140161
"azure.mgmt.storagemover.operations.JobRunsOperations.list": "Microsoft.StorageMover.JobRuns.list",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
1+
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
1+
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore

sdk/storagemover/azure-mgmt-storagemover/azure/mgmt/storagemover/_client.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
from ._utils.serialization import Deserializer, Serializer
2222
from .operations import (
2323
AgentsOperations,
24+
ConnectionsOperations,
2425
EndpointsOperations,
2526
JobDefinitionsOperations,
2627
JobRunsOperations,
@@ -49,6 +50,8 @@ class StorageMoverMgmtClient: # pylint: disable=too-many-instance-attributes
4950
:vartype projects: azure.mgmt.storagemover.operations.ProjectsOperations
5051
:ivar job_definitions: JobDefinitionsOperations operations
5152
:vartype job_definitions: azure.mgmt.storagemover.operations.JobDefinitionsOperations
53+
:ivar connections: ConnectionsOperations operations
54+
:vartype connections: azure.mgmt.storagemover.operations.ConnectionsOperations
5255
:ivar job_runs: JobRunsOperations operations
5356
:vartype job_runs: azure.mgmt.storagemover.operations.JobRunsOperations
5457
:param credential: Credential used to authenticate requests to the service. Required.
@@ -60,8 +63,9 @@ class StorageMoverMgmtClient: # pylint: disable=too-many-instance-attributes
6063
:keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
6164
None.
6265
:paramtype cloud_setting: ~azure.core.AzureClouds
63-
:keyword api_version: The API version to use for this operation. Default value is "2025-07-01".
64-
Note that overriding this default value may result in unsupported behavior.
66+
:keyword api_version: The API version to use for this operation. Known values are "2025-12-01"
67+
and None. Default value is "2025-12-01". Note that overriding this default value may result in
68+
unsupported behavior.
6569
:paramtype api_version: str
6670
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
6771
Retry-After header is present.
@@ -120,6 +124,7 @@ def __init__(
120124
self.endpoints = EndpointsOperations(self._client, self._config, self._serialize, self._deserialize)
121125
self.projects = ProjectsOperations(self._client, self._config, self._serialize, self._deserialize)
122126
self.job_definitions = JobDefinitionsOperations(self._client, self._config, self._serialize, self._deserialize)
127+
self.connections = ConnectionsOperations(self._client, self._config, self._serialize, self._deserialize)
123128
self.job_runs = JobRunsOperations(self._client, self._config, self._serialize, self._deserialize)
124129

125130
def send_request(self, request: HttpRequest, *, stream: bool = False, **kwargs: Any) -> HttpResponse:

sdk/storagemover/azure-mgmt-storagemover/azure/mgmt/storagemover/_configuration.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ class StorageMoverMgmtClientConfiguration: # pylint: disable=too-many-instance-
3333
:param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
3434
None.
3535
:type cloud_setting: ~azure.core.AzureClouds
36-
:keyword api_version: The API version to use for this operation. Default value is "2025-07-01".
37-
Note that overriding this default value may result in unsupported behavior.
36+
:keyword api_version: The API version to use for this operation. Known values are "2025-12-01"
37+
and None. Default value is "2025-12-01". Note that overriding this default value may result in
38+
unsupported behavior.
3839
:paramtype api_version: str
3940
"""
4041

@@ -46,7 +47,7 @@ def __init__(
4647
cloud_setting: Optional["AzureClouds"] = None,
4748
**kwargs: Any
4849
) -> None:
49-
api_version: str = kwargs.pop("api_version", "2025-07-01")
50+
api_version: str = kwargs.pop("api_version", "2025-12-01")
5051

5152
if credential is None:
5253
raise ValueError("Parameter 'credential' must not be None.")

0 commit comments

Comments
 (0)