Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add latest StorageMover updates #19876

Merged
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@
"arcResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName",
"description": "Example Agent Description",
"agentVersion": "1.0.0",
"agentStatus": "Provisioning",
"agentStatus": "Registering",
"arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9",
"lastStatusUpdate": null,
"localIPAddress": null,
"memoryInMB": null,
"numberOfCores": null,
"uptimeInSeconds": null,
"errorDetails": null
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@
"arcResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName",
"description": "Example Agent Description",
"agentVersion": "1.0.0",
"agentStatus": "Provisioning",
"agentStatus": "Online",
"arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9",
"lastStatusUpdate": "2020-02-01T01:01:01.1075056Z",
"localIPAddress": "192.168.0.0",
"memoryInMB": 100024,
"numberOfCores": 32,
"uptimeInSeconds": 522,
"errorDetails": null
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@
"arcResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName1",
"description": "Example Agent 1 Description",
"agentVersion": "1.0.0",
"agentStatus": "Provisioning",
"agentStatus": "Online",
"arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9",
"lastStatusUpdate": "2020-02-01T01:01:01.1075056Z",
"localIPAddress": "192.168.0.0",
"memoryInMB": 100024,
"numberOfCores": 32,
"uptimeInSeconds": 522,
"errorDetails": null
}
},
Expand All @@ -50,12 +51,13 @@
"arcResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName2",
"description": "Example Agent 2 Description",
"agentVersion": "1.0.0",
"agentStatus": "Provisioning",
"agentStatus": "Online",
"arcVmUuid": "147a1f84-7bbf-4e99-9a6a-a1735a91dfd5",
"lastStatusUpdate": "2020-02-01T01:01:01.1075056Z",
"localIPAddress": "192.168.0.0",
"memoryInMB": 100024,
"numberOfCores": 32,
"uptimeInSeconds": 522,
"errorDetails": null
}
},
Expand All @@ -75,12 +77,13 @@
"arcResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName3",
"description": "Example Agent 3 Description",
"agentVersion": "1.0.0",
"agentStatus": "Provisioning",
"agentStatus": "Online",
"arcVmUuid": "648a7958-f99e-4268-b20e-94c96558dc0d",
"lastStatusUpdate": "2020-02-01T01:01:01.1075056Z",
"localIPAddress": "192.168.0.0",
"memoryInMB": 100024,
"numberOfCores": 32,
"uptimeInSeconds": 522,
"errorDetails": {
"code": "SampleErrorCode",
"message": "Detailed sample error message."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@
"arcResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName",
"description": "Updated Agent Description",
"agentVersion": "1.0.0",
"agentStatus": "Provisioning",
"agentStatus": "Online",
"arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9",
"lastStatusUpdate": "2020-02-01T01:01:01.1075056Z",
"localIPAddress": "192.168.0.0",
"memoryInMB": 100024,
"numberOfCores": 32,
"uptimeInSeconds": 522,
"errorDetails": null
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"host": "0.0.0.0",
"nfsVersion": "NFSv4",
"description": "Example Storage Container Endpoint 2 Description",
"remoteExport": "/"
"export": "/"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"agentResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent",
"executionStartTime": "2020-02-01T01:01:01.1075056Z",
"executionEndTime": null,
"lastUpdatedTime": "2020-02-01T01:31:01.1075056Z",
"lastStatusUpdate": "2020-02-01T01:31:01.1075056Z",
"sourceName": "sourceEndpoint",
"sourceResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/sourceEndpoint",
"sourceProperties": {},
Expand All @@ -33,14 +33,12 @@
"itemsExcluded": 50,
"itemsUnsupported": 27,
"itemsNoTransferNeeded": 150,
"itemsDesignatedForTransfer": 124,
"itemsFailed": 3,
"itemsTransferred": 100,
"bytesScanned": 49951162777600,
"bytesExcluded": 995116277760,
"bytesUnsupported": 495116277760,
"bytesNoTransferNeeded": 2995116277760,
"bytesDesignatedForTransfer": 45465813944320,
"bytesFailed": 5116277760,
"bytesTransferred": 1995116277760
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"agentResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent",
"executionStartTime": "2020-02-01T01:01:01.1075056Z",
"executionEndTime": null,
"lastUpdatedTime": "2020-02-01T01:31:01.1075056Z",
"lastStatusUpdate": "2020-02-01T01:31:01.1075056Z",
"sourceName": "sourceEndpoint",
"sourceResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/sourceEndpoint",
"sourceProperties": {},
Expand All @@ -34,14 +34,12 @@
"itemsExcluded": 50,
"itemsUnsupported": 27,
"itemsNoTransferNeeded": 150,
"itemsDesignatedForTransfer": 124,
"itemsFailed": 3,
"itemsTransferred": 100,
"bytesScanned": 49951162777600,
"bytesExcluded": 995116277760,
"bytesUnsupported": 495116277760,
"bytesNoTransferNeeded": 2995116277760,
"bytesDesignatedForTransfer": 45465813944320,
"bytesFailed": 5116277760,
"bytesTransferred": 1995116277760
}
Expand All @@ -57,7 +55,7 @@
"agentResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent",
"executionStartTime": "2020-02-01T01:01:01.1075056Z",
"executionEndTime": null,
"lastUpdatedTime": "2020-02-01T01:31:01.1075056Z",
"lastStatusUpdate": "2020-02-01T01:31:01.1075056Z",
"sourceName": "sourceEndpoint",
"sourceResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/sourceEndpoint",
"sourceProperties": {},
Expand All @@ -69,14 +67,12 @@
"itemsExcluded": 50,
"itemsUnsupported": 27,
"itemsNoTransferNeeded": 150,
"itemsDesignatedForTransfer": 124,
"itemsFailed": 3,
"itemsTransferred": 100,
"bytesScanned": 49951162777600,
"bytesExcluded": 995116277760,
"bytesUnsupported": 495116277760,
"bytesNoTransferNeeded": 2995116277760,
"bytesDesignatedForTransfer": 45465813944320,
"bytesFailed": 5116277760,
"bytesTransferred": 1995116277760
}
Expand All @@ -92,7 +88,7 @@
"agentResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent",
"executionStartTime": "2020-02-01T01:01:01.1075056Z",
"executionEndTime": null,
"lastUpdatedTime": "2020-02-01T01:31:01.1075056Z",
"lastStatusUpdate": "2020-02-01T01:31:01.1075056Z",
"sourceName": "sourceEndpoint",
"sourceResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/sourceEndpoint",
"sourceProperties": {},
Expand All @@ -104,14 +100,12 @@
"itemsExcluded": 50,
"itemsUnsupported": 27,
"itemsNoTransferNeeded": 150,
"itemsDesignatedForTransfer": 124,
"itemsFailed": 3,
"itemsTransferred": 100,
"bytesScanned": 49951162777600,
"bytesExcluded": 995116277760,
"bytesUnsupported": 495116277760,
"bytesNoTransferNeeded": 2995116277760,
"bytesDesignatedForTransfer": 45465813944320,
"bytesFailed": 5116277760,
"bytesTransferred": 1995116277760
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1306,6 +1306,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/startJob": {
"post": {
"consumes": [
"application/json",
"application/x-www-form-urlencoded"
],
"tags": [
"JobDefinitions"
],
Expand Down Expand Up @@ -1354,6 +1358,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/stopJob": {
"post": {
"consumes": [
"application/json",
"application/x-www-form-urlencoded"
],
"tags": [
"JobDefinitions"
],
Expand Down Expand Up @@ -1535,12 +1543,12 @@
"agentStatus": {
"description": "The agent status.",
"enum": [
"Provisioning",
"Registering",
"Offline",
"Online",
"Executing",
"RequiresAttention",
"Deprovisioning"
"Unregistering"
],
"type": "string",
"x-ms-enum": {
Expand Down Expand Up @@ -1572,6 +1580,12 @@
"description": "Available compute cores reported by the agent.",
"readOnly": true
},
"uptimeInSeconds": {
"type": "integer",
"format": "int64",
"description": "Uptime of the agent in seconds.",
"readOnly": true
},
"errorDetails": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1907,7 +1921,7 @@
"create"
]
},
"remoteExport": {
"export": {
"description": "The directory being exported from the server.",
"type": "string",
"x-ms-mutability": [
Expand All @@ -1918,7 +1932,7 @@
},
"required": [
"host",
"remoteExport"
"export"
],
"allOf": [
{
Expand Down Expand Up @@ -2202,10 +2216,10 @@
"format": "date-time",
"description": "End time of the run. Null if agent has not reported that the job has ended."
},
"lastUpdatedTime": {
"lastStatusUpdate": {
"type": "string",
"format": "date-time",
"description": "Last update time.",
"description": "The last updated time of the job run.",
"readOnly": true
},
"itemsScanned": {
Expand All @@ -2232,12 +2246,6 @@
"description": "Number of items that will not be transferred, as they are already found on target (e.g. mirror mode).",
"readOnly": true
},
"itemsDesignatedForTransfer": {
"type": "integer",
"format": "int64",
"description": "Number of items identified for transferring so far in scan.",
"readOnly": true
},
"itemsFailed": {
"type": "integer",
"format": "int64",
Expand Down Expand Up @@ -2274,12 +2282,6 @@
"description": "Bytes of data that will not be transferred, as they are already found on target (e.g. mirror mode).",
"readOnly": true
},
"bytesDesignatedForTransfer": {
"type": "integer",
"format": "int64",
"description": "Bytes of data identified for transferring so far in scan.",
"readOnly": true
},
"bytesFailed": {
"type": "integer",
"format": "int64",
Expand Down