-
Notifications
You must be signed in to change notification settings - Fork 5k
/
ReplicationMigrationItems_Create.json
65 lines (65 loc) · 3.48 KB
/
ReplicationMigrationItems_Create.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"parameters": {
"api-version": "2022-10-01",
"migrationItemName": "virtualmachine1",
"protectionContainerName": "vmwareContainer1",
"fabricName": "vmwarefabric1",
"resourceName": "migrationvault",
"resourceGroupName": "resourcegroup1",
"subscriptionId": "cb53d0c3-bd59-4721-89bc-06916a9147ef",
"input": {
"properties": {
"policyId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationPolicies/vmwarepolicy1",
"providerSpecificDetails": {
"instanceType": "VMwareCbt",
"disksToInclude": [
{
"diskId": "disk1",
"isOSDisk": "true",
"logStorageAccountId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.Storage/storageAccounts/logStorageAccount1",
"logStorageAccountSasSecretName": "logStorageSas"
}
],
"vmwareMachineId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.OffAzure/VMwareSites/vmwaresite1/machines/virtualmachine1",
"targetNetworkId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1",
"targetResourceGroupId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1",
"snapshotRunAsAccountId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.OffAzure/VMwareSites/vmwaresite1/runasaccounts/snapshotRunAsAccount1",
"dataMoverRunAsAccountId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.OffAzure/VMwareSites/vmwaresite1/runasaccounts/dataMoverRunAsAccount1"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationFabrics/vmwarefabric1/replicationProtectionContainers/vmwareContainer1/replicationMigrationItems/virtualmachine1",
"name": "virtualmachine1",
"type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems",
"properties": {
"machineName": "vm-0520-2",
"migrationState": "Replicating",
"migrationStateDescription": "Ready to migrate",
"testMigrateState": "None",
"testMigrateStateDescription": "None",
"policyFriendlyName": "vmwarepolicy1",
"policyId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationPolicies/vmwarepolicy1",
"allowedOperations": [
"Migrate",
"DisableMigration",
"TestMigrate",
"TestMigrateCleanup"
],
"currentJob": {
"jobName": "None",
"jobId": "/Subscriptions/cb53d0c3-bd59-4721-89bc-06916a9147ef/resourceGroups/resourcegroup1/providers/Microsoft.RecoveryServices/vaults/migrationvault/replicationJobs/None",
"startTime": "2017-04-26T06:37:50.8082715Z"
},
"providerSpecificDetails": {
"instanceType": "VMwareCbt"
}
}
}
},
"202": {}
}
}