@@ -334,89 +334,89 @@ Finally, I entered all the above values into the JSON body below as part of the
334
334
335
335
![ ] ( /img/post-virtualization-api-with-taskid-succesful.png " Deploy POST to create the datastore in the DHCI using PCBE ")
336
336
337
- From the response of the API ` GET aync-operations ` for the task Id shown below, I confirmed that creation of the datastore was completed. Note that the creation of the datastore also applied the HPE GreenLake Backup Recovery data protection-policy to the newly created datastore.
337
+ From the response of the API ` GET aync-operations ` for the ` { task Id} ` shown below, I confirmed that creation of the datastore was completed. Note that the creation of the datastore also applied the HPE GreenLake Backup Recovery data protection-policy to the newly created datastore.
338
338
339
339
``` json
340
- {
341
- "associatedResources" : [],
342
- "childTasks" : [
343
- {
344
- "name" : " Create datastore: VVOL-ds1 " ,
345
- "resourceUri" : " /data-services/v1beta1/async-operations/ad25f64d-7bd1-439e-ac31-17728e6cdbc6 " ,
346
- "type" : " task"
347
- }
348
- ],
349
- "createdAt" : " 2024-03-29T00:56:16.981296528Z " ,
350
- "customerId" : " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx " ,
351
- "displayName" : " Provisioning datastore VVOL-ds1 " ,
352
- "endedAt" : " 2024-03-29T00:59:22.975723884Z " ,
353
- "error" : null ,
354
- "estimatedRunningDurationMinutes" : 0 ,
355
- "generation" : 8 ,
356
- "groups" : [
357
- {
358
- "id" : " eb988b5exxx11ec8407xxxb5263ef4 " ,
359
- "name" : " Default Group"
360
- }
361
- ],
362
- "healthStatus" : " OK" ,
363
- "id" : " 9825d5e8-5213-433b-8fbf-1945bb4496e1 " ,
364
- "logMessages" : [
365
- {
366
- "message" : " Task created" ,
367
- "timestampAt" : " 2024-03-29T00:56:16.98131301Z "
368
- },
369
- {
370
- "message" : " Task is running" ,
371
- "timestampAt" : " 2024-03-29T00:56:16.981315803Z "
372
- },
373
- {
374
- "message" : " Preparing parameters" ,
375
- "timestampAt" : " 2024-03-29T00:56:18.622573215Z "
376
- },
377
- {
378
- "message" : " Creating datastore" ,
379
- "timestampAt" : " 2024-03-29T00:56:19.797636611Z "
380
- },
381
- {
382
- "message" : " Validating datastore" ,
383
- "timestampAt" : " 2024-03-29T00:56:36.120087916Z "
384
- },
385
- {
386
- "message" : " Applying protection policy" ,
387
- "timestampAt" : " 2024-03-29T00:57:36.332756275Z "
388
- },
389
- {
390
- "message" : " Task succeeded" ,
391
- "timestampAt" : " 2024-03-29T00:59:22.975739714Z "
392
- }
393
- ],
394
- "name" : " Provisioning datastore VVOL-ds1 " ,
395
- "parentTask" : null ,
396
- "progressPercent" : 100 ,
397
- "recommendations" : [],
398
- "resourceUri" : " /data-services/v1beta1/async-operations/9825d5e8-xxx-xxx-xxx-1945bb4496e1 " ,
399
- "rootTask" : {
400
- "id" : " 9825d5e8-5213-433b-8fbf-1945bb4496e1 " ,
401
- "name" : " " ,
402
- "resourceUri" : " /data-services/v1beta1/async-operations/9825d5e8-xxx-xxx-xxx-1945bb4496e1 " ,
403
- "type" : " task"
404
- },
405
- "services" : [
406
- " private-cloud-business-edition"
407
- ],
408
- "sourceResource" : {
409
- "name" : " VVOL -ds2" ,
410
- "resourceUri" : " /api/v1/datastores/fdcc724f-xxxx-xxx-xxx-81f0fd701512 " ,
411
- "type" : " Datastore"
412
- },
413
- "startedAt" : " 2024-03-29T00:56:16.981298562Z " ,
414
- "state" : " SUCCEEDED" ,
415
- "subtreeTaskCount" : 2 ,
416
- "suggestedPollingIntervalSeconds" : 30 ,
417
- "type" : " task" ,
418
- "updatedAt" : " 2024-03-29T00:59:23.013384523Z " ,
419
-
340
+ {
341
+ "associatedResources" : [],
342
+ "childTasks" : [
343
+ {
344
+ "name" : " Create datastore: VMFS-ds2 " ,
345
+ "resourceUri" : " /data-services/v1beta1/async-operations/58955ba4-59ba-4f78-a4e8-5116aaba9e7d " ,
346
+ "type" : " task"
347
+ }
348
+ ],
349
+ "createdAt" : " 2024-04-21T22:08:25.439053461Z " ,
350
+ "customerId" : " eb988b5e2dcb11ec840712b3b5263ef4 " ,
351
+ "displayName" : " Provisioning datastore VMFS-ds2 " ,
352
+ "endedAt" : " 2024-04-21T22:12:00.738144472Z " ,
353
+ "error" : null ,
354
+ "estimatedRunningDurationMinutes" : 0 ,
355
+ "generation" : 8 ,
356
+ "groups" : [
357
+ {
358
+ "id" : " eb988b5e2dcb11ec840712b3b5263ef4 " ,
359
+ "name" : " Default Group"
360
+ }
361
+ ],
362
+ "healthStatus" : " OK" ,
363
+ "id" : " 8de5e0a2-af09-4de3-8334-75638c147735 " ,
364
+ "logMessages" : [
365
+ {
366
+ "message" : " Task created" ,
367
+ "timestampAt" : " 2024-04-21T22:08:25.439071294Z "
368
+ },
369
+ {
370
+ "message" : " Task is running" ,
371
+ "timestampAt" : " 2024-04-21T22:08:25.439074148Z "
372
+ },
373
+ {
374
+ "message" : " Preparing parameters" ,
375
+ "timestampAt" : " 2024-04-21T22:08:29.779163168Z "
376
+ },
377
+ {
378
+ "message" : " Creating datastore" ,
379
+ "timestampAt" : " 2024-04-21T22:08:31.200651622Z "
380
+ },
381
+ {
382
+ "message" : " Validating datastore" ,
383
+ "timestampAt" : " 2024-04-21T22:09:44.256999998Z "
384
+ },
385
+ {
386
+ "message" : " Applying protection policy" ,
387
+ "timestampAt" : " 2024-04-21T22:10:14.382076894Z "
388
+ },
389
+ {
390
+ "message" : " Task succeeded" ,
391
+ "timestampAt" : " 2024-04-21T22:12:00.738160833Z "
392
+ }
393
+ ],
394
+ "name" : " Provisioning datastore VMFS-ds2 " ,
395
+ "parentTask" : null ,
396
+ "progressPercent" : 100 ,
397
+ "recommendations" : [],
398
+ "resourceUri" : " /data-services/v1beta1/async-operations/8de5e0a2-af09-4de3-8334-75638c147735 " ,
399
+ "rootTask" : {
400
+ "id" : " 8de5e0a2-af09-4de3-8334-75638c147735 " ,
401
+ "name" : " " ,
402
+ "resourceUri" : " /data-services/v1beta1/async-operations/8de5e0a2-af09-4de3-8334-75638c147735 " ,
403
+ "type" : " task"
404
+ },
405
+ "services" : [
406
+ " private-cloud-business-edition"
407
+ ],
408
+ "sourceResource" : {
409
+ "name" : " VMFS -ds2" ,
410
+ "resourceUri" : " /api/v1/datastores/ff5a8bf8-ddc9-5bca-9f9f-c4cf3f099364 " ,
411
+ "type" : " Datastore"
412
+ },
413
+ "startedAt" : " 2024-04-21T22:08:25.439056085Z " ,
414
+ "state" : " SUCCEEDED" ,
415
+ "subtreeTaskCount" : 2 ,
416
+ "suggestedPollingIntervalSeconds" : 30 ,
417
+ "type" : " task" ,
418
+ "updatedAt" : " 2024-04-21T22:12:00.793422464Z " ,
419
+
420
420
}
421
421
```
422
422
0 commit comments