Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion sdk/storagemover/azure-mgmt-storagemover/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 3.1.0 (2026-03-25)
## 3.1.0 (2026-04-06)

### Features Added

Expand All @@ -18,6 +18,7 @@
- Model `JobDefinitionProperties` added property `preserve_permissions`
- Model `JobDefinitionUpdateProperties` added property `connections`
- Model `JobDefinitionUpdateProperties` added property `data_integrity_validation`
- Model `JobDefinitionUpdateProperties` added property `schedule`
- Model `JobRunProperties` added property `trigger_type`
- Model `JobRunProperties` added property `scheduled_execution_time`
- Model `JobRunProperties` added property `warnings`
Expand All @@ -35,6 +36,7 @@
- Added model `S3WithHmacEndpointUpdateProperties`
- Added enum `S3WithHmacSourceType`
- Added model `ScheduleInfo`
- Added model `SchedulerTime`
- Added enum `TriggerType`
- Added operation group `ConnectionsOperations`

Expand Down
4 changes: 2 additions & 2 deletions sdk/storagemover/azure-mgmt-storagemover/_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"apiVersions": {
"Microsoft.StorageMover": "2025-12-01"
},
"commit": "b8861b82d3b47a8cf9c2dfae4a29ec9ff41eacbf",
"commit": "55fc3e7d12df68485d19b10847f24c95579a06f4",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/storagemover/StorageMover.Management",
"emitterVersion": "0.61.0"
"emitterVersion": "0.61.2"
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"azure.mgmt.storagemover.models.S3WithHmacEndpointProperties": "Microsoft.StorageMover.S3WithHmacEndpointProperties",
"azure.mgmt.storagemover.models.S3WithHmacEndpointUpdateProperties": "Microsoft.StorageMover.S3WithHmacEndpointUpdateProperties",
"azure.mgmt.storagemover.models.ScheduleInfo": "Microsoft.StorageMover.ScheduleInfo",
"azure.mgmt.storagemover.models.SchedulerTime": "Microsoft.StorageMover.SchedulerTime",
"azure.mgmt.storagemover.models.SmbMountEndpointProperties": "Microsoft.StorageMover.SmbMountEndpointProperties",
"azure.mgmt.storagemover.models.SmbMountEndpointUpdateProperties": "Microsoft.StorageMover.SmbMountEndpointUpdateProperties",
"azure.mgmt.storagemover.models.SourceEndpoint": "Microsoft.StorageMover.SourceEndpoint",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ class StorageMoverMgmtClient: # pylint: disable=too-many-instance-attributes
:keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
:paramtype cloud_setting: ~azure.core.AzureClouds
:keyword api_version: The API version to use for this operation. Known values are "2025-12-01"
and None. Default value is "2025-12-01". Note that overriding this default value may result in
:keyword api_version: The API version to use for this operation. Known values are "2025-12-01".
Default value is "2025-12-01". Note that overriding this default value may result in
unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ class StorageMoverMgmtClientConfiguration: # pylint: disable=too-many-instance-
:param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
:type cloud_setting: ~azure.core.AzureClouds
:keyword api_version: The API version to use for this operation. Known values are "2025-12-01"
and None. Default value is "2025-12-01". Note that overriding this default value may result in
:keyword api_version: The API version to use for this operation. Known values are "2025-12-01".
Default value is "2025-12-01". Note that overriding this default value may result in
unsupported behavior.
:paramtype api_version: str
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ class StorageMoverMgmtClient: # pylint: disable=too-many-instance-attributes
:keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
:paramtype cloud_setting: ~azure.core.AzureClouds
:keyword api_version: The API version to use for this operation. Known values are "2025-12-01"
and None. Default value is "2025-12-01". Note that overriding this default value may result in
:keyword api_version: The API version to use for this operation. Known values are "2025-12-01".
Default value is "2025-12-01". Note that overriding this default value may result in
unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ class StorageMoverMgmtClientConfiguration: # pylint: disable=too-many-instance-
:param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
:type cloud_setting: ~azure.core.AzureClouds
:keyword api_version: The API version to use for this operation. Known values are "2025-12-01"
and None. Default value is "2025-12-01". Note that overriding this default value may result in
:keyword api_version: The API version to use for this operation. Known values are "2025-12-01".
Default value is "2025-12-01". Note that overriding this default value may result in
unsupported behavior.
:paramtype api_version: str
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
S3WithHmacEndpointProperties,
S3WithHmacEndpointUpdateProperties,
ScheduleInfo,
SchedulerTime,
SmbMountEndpointProperties,
SmbMountEndpointUpdateProperties,
SourceEndpoint,
Expand Down Expand Up @@ -162,6 +163,7 @@
"S3WithHmacEndpointProperties",
"S3WithHmacEndpointUpdateProperties",
"ScheduleInfo",
"SchedulerTime",
"SmbMountEndpointProperties",
"SmbMountEndpointUpdateProperties",
"SourceEndpoint",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ class Frequency(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""DAILY."""
ONETIME = "Onetime"
"""ONETIME."""
NONE = "None"
"""No schedule frequency. The job definition will not run on a schedule."""


class JobRunScanStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
Expand Down Expand Up @@ -264,14 +266,16 @@ class S3WithHmacSourceType(str, Enum, metaclass=CaseInsensitiveEnumMeta):

MINIO = "MINIO"
"""MINIO."""
BACKBLAZE = "BACKBLAZE"
"""BACKBLAZE."""
IBM = "IBM"
"""IBM."""
CLOUDFLARE = "CLOUDFLARE"
"""CLOUDFLARE."""
GCS = "GCS"
"""GCS."""
ALIBABA = "ALIBABA"
"""ALIBABA."""
DELL_EMC = "DELL_EMC"
"""DELL_EMC."""
OTHER = "OTHER"
"""OTHER."""


class TriggerType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1439,7 +1439,14 @@ class JobDefinitionUpdateParameters(_Model):
)
"""Job definition properties."""

__flattened_items = ["description", "copy_mode", "agent_name", "connections", "data_integrity_validation"]
__flattened_items = [
"description",
"copy_mode",
"agent_name",
"connections",
"data_integrity_validation",
"schedule",
]

@overload
def __init__(
Expand Down Expand Up @@ -1492,6 +1499,8 @@ class JobDefinitionUpdateProperties(_Model):
"SaveVerifyFileMD5", "SaveFileMD5", and "None".
:vartype data_integrity_validation: str or
~azure.mgmt.storagemover.models.DataIntegrityValidation
:ivar schedule: Schedule information for the Job Definition.
:vartype schedule: ~azure.mgmt.storagemover.models.ScheduleInfo
"""

description: Optional[str] = rest_field(visibility=["read", "create", "update", "delete", "query"])
Expand All @@ -1509,6 +1518,8 @@ class JobDefinitionUpdateProperties(_Model):
)
"""Data Integrity Validation mode. Known values are: \"SaveVerifyFileMD5\", \"SaveFileMD5\", and
\"None\"."""
schedule: Optional["_models.ScheduleInfo"] = rest_field(visibility=["read", "create", "update", "delete", "query"])
"""Schedule information for the Job Definition."""

@overload
def __init__(
Expand All @@ -1519,6 +1530,7 @@ def __init__(
agent_name: Optional[str] = None,
connections: Optional[list[str]] = None,
data_integrity_validation: Optional[Union[str, "_models.DataIntegrityValidation"]] = None,
schedule: Optional["_models.ScheduleInfo"] = None,
) -> None: ...

@overload
Expand Down Expand Up @@ -2333,8 +2345,8 @@ class S3WithHmacEndpointProperties(EndpointBaseProperties, discriminator="S3With
:vartype credentials: ~azure.mgmt.storagemover.models.AzureKeyVaultS3WithHmacCredentials
:ivar source_uri: The URI which points to the source.
:vartype source_uri: str
:ivar source_type: The source type of S3WithHmac endpoint. Known values are: "MINIO",
"BACKBLAZE", "IBM", "CLOUDFLARE", and "GCS".
:ivar source_type: The source type of S3WithHmac endpoint. Known values are: "MINIO", "IBM",
"GCS", "ALIBABA", "DELL_EMC", and "OTHER".
:vartype source_type: str or ~azure.mgmt.storagemover.models.S3WithHmacSourceType
:ivar other_source_type_description: The description for other source type of S3WithHmac
endpoint.
Expand All @@ -2351,8 +2363,8 @@ class S3WithHmacEndpointProperties(EndpointBaseProperties, discriminator="S3With
source_type: Optional[Union[str, "_models.S3WithHmacSourceType"]] = rest_field(
name="sourceType", visibility=["read", "create"]
)
"""The source type of S3WithHmac endpoint. Known values are: \"MINIO\", \"BACKBLAZE\", \"IBM\",
\"CLOUDFLARE\", and \"GCS\"."""
"""The source type of S3WithHmac endpoint. Known values are: \"MINIO\", \"IBM\", \"GCS\",
\"ALIBABA\", \"DELL_EMC\", and \"OTHER\"."""
other_source_type_description: Optional[str] = rest_field(
name="otherSourceTypeDescription", visibility=["read", "create"]
)
Expand Down Expand Up @@ -2426,13 +2438,13 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
class ScheduleInfo(_Model):
"""Schedule information for the Job Definition.

:ivar frequency: Type of schedule — Monthly, Weekly, or Daily. Required. Known values are:
"Monthly", "Weekly", "Daily", and "Onetime".
:ivar frequency: Type of schedule — Monthly, Weekly, or Daily. Known values are: "Monthly",
"Weekly", "Daily", "Onetime", and "None".
:vartype frequency: str or ~azure.mgmt.storagemover.models.Frequency
:ivar is_active: Whether the schedule is currently active. Required.
:ivar is_active: Whether the schedule is currently active.
:vartype is_active: bool
:ivar execution_time: Time of day to execute (hours and minutes).
:vartype execution_time: ~azure.mgmt.storagemover.models.Time
:vartype execution_time: ~azure.mgmt.storagemover.models.SchedulerTime
:ivar start_date: Specific one-time execution date and time.
:vartype start_date: ~datetime.datetime
:ivar days_of_week: Days of the week for weekly schedules.
Expand All @@ -2445,12 +2457,14 @@ class ScheduleInfo(_Model):
:vartype end_date: ~datetime.datetime
"""

frequency: Union[str, "_models.Frequency"] = rest_field(visibility=["read", "create", "update", "delete", "query"])
"""Type of schedule — Monthly, Weekly, or Daily. Required. Known values are: \"Monthly\",
\"Weekly\", \"Daily\", and \"Onetime\"."""
is_active: bool = rest_field(name="isActive", visibility=["read", "create", "update", "delete", "query"])
"""Whether the schedule is currently active. Required."""
execution_time: Optional["_models.Time"] = rest_field(
frequency: Optional[Union[str, "_models.Frequency"]] = rest_field(
visibility=["read", "create", "update", "delete", "query"]
)
"""Type of schedule — Monthly, Weekly, or Daily. Known values are: \"Monthly\", \"Weekly\",
\"Daily\", \"Onetime\", and \"None\"."""
is_active: Optional[bool] = rest_field(name="isActive", visibility=["read", "create", "update", "delete", "query"])
"""Whether the schedule is currently active."""
execution_time: Optional["_models.SchedulerTime"] = rest_field(
name="executionTime", visibility=["read", "create", "update", "delete", "query"]
)
"""Time of day to execute (hours and minutes)."""
Expand Down Expand Up @@ -2479,9 +2493,9 @@ class ScheduleInfo(_Model):
def __init__(
self,
*,
frequency: Union[str, "_models.Frequency"],
is_active: bool,
execution_time: Optional["_models.Time"] = None,
frequency: Optional[Union[str, "_models.Frequency"]] = None,
is_active: Optional[bool] = None,
execution_time: Optional["_models.SchedulerTime"] = None,
start_date: Optional[datetime.datetime] = None,
days_of_week: Optional[list[str]] = None,
days_of_month: Optional[list[int]] = None,
Expand All @@ -2500,6 +2514,46 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
super().__init__(*args, **kwargs)


class SchedulerTime(_Model):
"""The time of day.

:ivar hour: The hour element of the time. Allowed values range from 0 (start of the selected
day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute
value but 0.
:vartype hour: int
:ivar minute: The minute element of the time. Allowed values are 0 and 30. If not specified,
its value defaults to 0. Known values are: 0 and 30.
:vartype minute: int or ~azure.mgmt.storagemover.models.Minute
"""

hour: Optional[int] = rest_field(visibility=["read", "create", "update", "delete", "query"])
"""The hour element of the time. Allowed values range from 0 (start of the selected day) to 24
(end of the selected day). Hour value 24 cannot be combined with any other minute value but 0."""
minute: Optional[Union[int, "_models.Minute"]] = rest_field(
visibility=["read", "create", "update", "delete", "query"]
)
"""The minute element of the time. Allowed values are 0 and 30. If not specified, its value
defaults to 0. Known values are: 0 and 30."""

@overload
def __init__(
self,
*,
hour: Optional[int] = None,
minute: Optional[Union[int, "_models.Minute"]] = None,
) -> None: ...

@overload
def __init__(self, mapping: Mapping[str, Any]) -> None:
"""
:param mapping: raw JSON to initialize the model.
:type mapping: Mapping[str, Any]
"""

def __init__(self, *args: Any, **kwargs: Any) -> None:
super().__init__(*args, **kwargs)


class SmbMountEndpointProperties(EndpointBaseProperties, discriminator="SmbMount"):
"""The properties of SMB share endpoint.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ def test_job_definitions_create_or_update(self, resource_group):
"preservePermissions": bool,
"provisioningState": "str",
"schedule": {
"frequency": "str",
"isActive": bool,
"cronExpression": "str",
"daysOfMonth": [0],
"daysOfWeek": ["str"],
"endDate": "2020-02-20 00:00:00",
"executionTime": {"hour": 0, "minute": 0},
"frequency": "str",
"isActive": bool,
"startDate": "2020-02-20 00:00:00",
},
"sourceResourceId": "str",
Expand Down Expand Up @@ -123,6 +123,16 @@ def test_job_definitions_update(self, resource_group):
"copyMode": "str",
"dataIntegrityValidation": "str",
"description": "str",
"schedule": {
"cronExpression": "str",
"daysOfMonth": [0],
"daysOfWeek": ["str"],
"endDate": "2020-02-20 00:00:00",
"executionTime": {"hour": 0, "minute": 0},
"frequency": "str",
"isActive": bool,
"startDate": "2020-02-20 00:00:00",
},
}
},
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ async def test_job_definitions_create_or_update(self, resource_group):
"preservePermissions": bool,
"provisioningState": "str",
"schedule": {
"frequency": "str",
"isActive": bool,
"cronExpression": "str",
"daysOfMonth": [0],
"daysOfWeek": ["str"],
"endDate": "2020-02-20 00:00:00",
"executionTime": {"hour": 0, "minute": 0},
"frequency": "str",
"isActive": bool,
"startDate": "2020-02-20 00:00:00",
},
"sourceResourceId": "str",
Expand Down Expand Up @@ -124,6 +124,16 @@ async def test_job_definitions_update(self, resource_group):
"copyMode": "str",
"dataIntegrityValidation": "str",
"description": "str",
"schedule": {
"cronExpression": "str",
"daysOfMonth": [0],
"daysOfWeek": ["str"],
"endDate": "2020-02-20 00:00:00",
"executionTime": {"hour": 0, "minute": 0},
"frequency": "str",
"isActive": bool,
"startDate": "2020-02-20 00:00:00",
},
}
},
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
directory: specification/storagemover/StorageMover.Management
commit: b8861b82d3b47a8cf9c2dfae4a29ec9ff41eacbf
commit: 55fc3e7d12df68485d19b10847f24c95579a06f4
repo: Azure/azure-rest-api-specs
additionalDirectories: