Microsoft.StorageMover (stable:2025-07-01)

2025/08/20 • 31 new methods

Operations_List (new)
Description List the operations for the provider
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.StorageMover/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageMovers_ListBySubscription (new)
Description Lists all Storage Movers in a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.StorageMover/storageMovers
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageMovers_List (new)
Description Lists all Storage Movers in a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageMovers_Get (new)
Description Gets a Storage Mover resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageMovers_CreateOrUpdate (new)
Description Creates or updates a top-level Storage Mover resource.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
storageMover:
{
properties:
{
description: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
description: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageMovers_Update (new)
Description Updates properties for a Storage Mover resource. Properties not specified in the request body will be unchanged.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
storageMover:
{
properties:
{
description: string ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
description: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageMovers_Delete (new)
Description Deletes a Storage Mover resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Agents_List (new)
Description Lists all Agents in a Storage Mover.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
agentVersion: string ,
arcResourceId: string ,
arcVmUuid: string ,
agentStatus: enum ,
lastStatusUpdate: string ,
localIPAddress: string ,
memoryInMB: integer ,
numberOfCores: integer ,
uptimeInSeconds: integer ,
timeZone: string ,
uploadLimitSchedule:
{
weeklyRecurrences:
[
{
limitInMbps: integer ,
}
,
]
,
}
,
errorDetails:
{
code: string ,
message: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Agents_Get (new)
Description Gets an Agent resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
agentName: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
agentVersion: string ,
arcResourceId: string ,
arcVmUuid: string ,
agentStatus: enum ,
lastStatusUpdate: string ,
localIPAddress: string ,
memoryInMB: integer ,
numberOfCores: integer ,
uptimeInSeconds: integer ,
timeZone: string ,
uploadLimitSchedule:
{
weeklyRecurrences:
[
{
limitInMbps: integer ,
}
,
]
,
}
,
errorDetails:
{
code: string ,
message: string ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Agents_CreateOrUpdate (new)
Description Creates or updates an Agent resource, which references a hybrid compute machine that can run jobs.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
agentName: string ,
agent:
{
properties:
{
description: string ,
agentVersion: string ,
arcResourceId: string ,
arcVmUuid: string ,
agentStatus: enum ,
lastStatusUpdate: string ,
localIPAddress: string ,
memoryInMB: integer ,
numberOfCores: integer ,
uptimeInSeconds: integer ,
timeZone: string ,
uploadLimitSchedule:
{
weeklyRecurrences:
[
{
limitInMbps: integer ,
}
,
]
,
}
,
errorDetails:
{
code: string ,
message: string ,
}
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
description: string ,
agentVersion: string ,
arcResourceId: string ,
arcVmUuid: string ,
agentStatus: enum ,
lastStatusUpdate: string ,
localIPAddress: string ,
memoryInMB: integer ,
numberOfCores: integer ,
uptimeInSeconds: integer ,
timeZone: string ,
uploadLimitSchedule:
{
weeklyRecurrences:
[
{
limitInMbps: integer ,
}
,
]
,
}
,
errorDetails:
{
code: string ,
message: string ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Agents_Update (new)
Description Creates or updates an Agent resource.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
agentName: string ,
agent:
{
properties:
{
description: string ,
uploadLimitSchedule:
{
weeklyRecurrences:
[
{
limitInMbps: integer ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
description: string ,
agentVersion: string ,
arcResourceId: string ,
arcVmUuid: string ,
agentStatus: enum ,
lastStatusUpdate: string ,
localIPAddress: string ,
memoryInMB: integer ,
numberOfCores: integer ,
uptimeInSeconds: integer ,
timeZone: string ,
uploadLimitSchedule:
{
weeklyRecurrences:
[
{
limitInMbps: integer ,
}
,
]
,
}
,
errorDetails:
{
code: string ,
message: string ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Agents_Delete (new)
Description Deletes an Agent resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
agentName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_List (new)
Description Lists all Endpoints in a Storage Mover.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
endpointType: enum ,
description: string ,
provisioningState: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_Get (new)
Description Gets an Endpoint resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
endpointName: string ,
}

⚐ Response (200)

{
properties:
{
endpointType: enum ,
description: string ,
provisioningState: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_CreateOrUpdate (new)
Description Creates or updates an Endpoint resource, which represents a data transfer source or destination.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
endpointName: string ,
endpoint:
{
properties:
{
endpointType: enum ,
description: string ,
provisioningState: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
endpointType: enum ,
description: string ,
provisioningState: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_Update (new)
Description Updates properties for an Endpoint resource. Properties not specified in the request body will be unchanged.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
endpointName: string ,
endpoint:
{
properties:
{
endpointType: enum ,
description: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
endpointType: enum ,
description: string ,
provisioningState: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_Delete (new)
Description Deletes an Endpoint resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
endpointName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Projects_List (new)
Description Lists all Projects in a Storage Mover.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Projects_Get (new)
Description Gets a Project resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
projectName: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Projects_CreateOrUpdate (new)
Description Creates or updates a Project resource, which is a logical grouping of related jobs.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
projectName: string ,
project:
{
properties:
{
description: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
description: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Projects_Update (new)
Description Updates properties for a Project resource. Properties not specified in the request body will be unchanged.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
projectName: string ,
project:
{
properties:
{
description: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
description: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Projects_Delete (new)
Description Deletes a Project resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
projectName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
JobDefinitions_List (new)
Description Lists all Job Definitions in a Project.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
projectName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
jobType: enum ,
copyMode: enum ,
sourceName: string ,
sourceResourceId: string ,
sourceSubpath: string ,
targetName: string ,
targetResourceId: string ,
targetSubpath: string ,
latestJobRunName: string ,
latestJobRunResourceId: string ,
latestJobRunStatus: enum ,
agentName: string ,
agentResourceId: string ,
sourceTargetMap:
{
value:
[
{
sourceEndpoint:
{
properties:
{
name: string ,
sourceEndpointResourceId: string ,
awsS3BucketId: string ,
}
,
}
,
targetEndpoint:
{
properties:
{
name: string ,
targetEndpointResourceId: string ,
azureStorageAccountResourceId: string ,
azureStorageBlobContainerName: string ,
}
,
}
,
}
,
]
,
}
,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
JobDefinitions_Get (new)
Description Gets a Job Definition resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
projectName: string ,
jobDefinitionName: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
jobType: enum ,
copyMode: enum ,
sourceName: string ,
sourceResourceId: string ,
sourceSubpath: string ,
targetName: string ,
targetResourceId: string ,
targetSubpath: string ,
latestJobRunName: string ,
latestJobRunResourceId: string ,
latestJobRunStatus: enum ,
agentName: string ,
agentResourceId: string ,
sourceTargetMap:
{
value:
[
{
sourceEndpoint:
{
properties:
{
name: string ,
sourceEndpointResourceId: string ,
awsS3BucketId: string ,
}
,
}
,
targetEndpoint:
{
properties:
{
name: string ,
targetEndpointResourceId: string ,
azureStorageAccountResourceId: string ,
azureStorageBlobContainerName: string ,
}
,
}
,
}
,
]
,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
JobDefinitions_CreateOrUpdate (new)
Description Creates or updates a Job Definition resource, which contains configuration for a single unit of managed data transfer.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
projectName: string ,
jobDefinitionName: string ,
jobDefinition:
{
properties:
{
description: string ,
jobType: enum ,
copyMode: enum ,
sourceName: string ,
sourceResourceId: string ,
sourceSubpath: string ,
targetName: string ,
targetResourceId: string ,
targetSubpath: string ,
latestJobRunName: string ,
latestJobRunResourceId: string ,
latestJobRunStatus: enum ,
agentName: string ,
agentResourceId: string ,
sourceTargetMap:
{
value:
[
{
sourceEndpoint:
{
properties:
{
name: string ,
sourceEndpointResourceId: string ,
awsS3BucketId: string ,
}
,
}
,
targetEndpoint:
{
properties:
{
name: string ,
targetEndpointResourceId: string ,
azureStorageAccountResourceId: string ,
azureStorageBlobContainerName: string ,
}
,
}
,
}
,
]
,
}
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
description: string ,
jobType: enum ,
copyMode: enum ,
sourceName: string ,
sourceResourceId: string ,
sourceSubpath: string ,
targetName: string ,
targetResourceId: string ,
targetSubpath: string ,
latestJobRunName: string ,
latestJobRunResourceId: string ,
latestJobRunStatus: enum ,
agentName: string ,
agentResourceId: string ,
sourceTargetMap:
{
value:
[
{
sourceEndpoint:
{
properties:
{
name: string ,
sourceEndpointResourceId: string ,
awsS3BucketId: string ,
}
,
}
,
targetEndpoint:
{
properties:
{
name: string ,
targetEndpointResourceId: string ,
azureStorageAccountResourceId: string ,
azureStorageBlobContainerName: string ,
}
,
}
,
}
,
]
,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
JobDefinitions_Update (new)
Description Updates properties for a Job Definition resource. Properties not specified in the request body will be unchanged.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
projectName: string ,
jobDefinitionName: string ,
jobDefinition:
{
properties:
{
description: string ,
copyMode: enum ,
agentName: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
description: string ,
jobType: enum ,
copyMode: enum ,
sourceName: string ,
sourceResourceId: string ,
sourceSubpath: string ,
targetName: string ,
targetResourceId: string ,
targetSubpath: string ,
latestJobRunName: string ,
latestJobRunResourceId: string ,
latestJobRunStatus: enum ,
agentName: string ,
agentResourceId: string ,
sourceTargetMap:
{
value:
[
{
sourceEndpoint:
{
properties:
{
name: string ,
sourceEndpointResourceId: string ,
awsS3BucketId: string ,
}
,
}
,
targetEndpoint:
{
properties:
{
name: string ,
targetEndpointResourceId: string ,
azureStorageAccountResourceId: string ,
azureStorageBlobContainerName: string ,
}
,
}
,
}
,
]
,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
JobDefinitions_Delete (new)
Description Deletes a Job Definition resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
projectName: string ,
jobDefinitionName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
JobRuns_List (new)
Description Lists all Job Runs in a Job Definition.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
projectName: string ,
jobDefinitionName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
scanStatus: enum ,
agentName: string ,
agentResourceId: string ,
executionStartTime: string ,
executionEndTime: string ,
lastStatusUpdate: string ,
itemsScanned: integer ,
itemsExcluded: integer ,
itemsUnsupported: integer ,
itemsNoTransferNeeded: integer ,
itemsFailed: integer ,
itemsTransferred: integer ,
bytesScanned: integer ,
bytesExcluded: integer ,
bytesUnsupported: integer ,
bytesNoTransferNeeded: integer ,
bytesFailed: integer ,
bytesTransferred: integer ,
sourceName: string ,
sourceResourceId: string ,
sourceProperties: string ,
targetName: string ,
targetResourceId: string ,
targetProperties: string ,
jobDefinitionProperties: string ,
error:
{
code: string ,
message: string ,
target: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
JobRuns_Get (new)
Description Gets a Job Run resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns/{jobRunName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
projectName: string ,
jobDefinitionName: string ,
jobRunName: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
scanStatus: enum ,
agentName: string ,
agentResourceId: string ,
executionStartTime: string ,
executionEndTime: string ,
lastStatusUpdate: string ,
itemsScanned: integer ,
itemsExcluded: integer ,
itemsUnsupported: integer ,
itemsNoTransferNeeded: integer ,
itemsFailed: integer ,
itemsTransferred: integer ,
bytesScanned: integer ,
bytesExcluded: integer ,
bytesUnsupported: integer ,
bytesNoTransferNeeded: integer ,
bytesFailed: integer ,
bytesTransferred: integer ,
sourceName: string ,
sourceResourceId: string ,
sourceProperties: string ,
targetName: string ,
targetResourceId: string ,
targetProperties: string ,
jobDefinitionProperties: string ,
error:
{
code: string ,
message: string ,
target: string ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
JobDefinitions_StartJob (new)
Description Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/startJob
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
projectName: string ,
jobDefinitionName: string ,
}

⚐ Response (200)

{
jobRunResourceId: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
JobDefinitions_StopJob (new)
Description Requests the Agent of any active instance of this Job Definition to stop.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/stopJob
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
storageMoverName: string ,
projectName: string ,
jobDefinitionName: string ,
}

⚐ Response (200)

{
jobRunResourceId: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}