Skip to content

Instantly share code, notes, and snippets.

@jonathanmedd
Created January 9, 2017 11:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathanmedd/dc5c68908b884c458ce3bec7f0d51470 to your computer and use it in GitHub Desktop.
Save jonathanmedd/dc5c68908b884c458ce3bec7f0d51470 to your computer and use it in GitHub Desktop.
Example Multi Level Object
$Reservation
createdDate : 9/15/16 4:28:26 PM
lastUpdated : 9/15/16 4:28:26 PM
version : 0
id : 8731ceb3-01cd-4dd6-834e-49a9aa8057d8
name : Reservation01
reservationTypeId : Infrastructure.Reservation.Virtual.vSphere
tenantId : Tenant01
subTenantId : b010265c-bd9c-4dd3-84e0-7ee8beee8e5c
enabled : True
priority : 1
reservationPolicyId :
alertPolicy : @{enabled=False; frequencyReminder=0; emailBgMgr=True; recipients=System.Object[]; alerts=System.Object[]}
extensionData : @{entries=System.Object[]}
$Reservation.extensionData
entries
-------
{@{key=reservationMemory; value=}, @{key=reservationStorages; value=}, @{key=computeResource; value=}, @{key=reservationNetworks; value=}}
$Reservation.extensionData.entries
key value
--- -----
reservationMemory @{type=complex; componentTypeId=; componentId=; classId=; typeFilter=; values=}
reservationStorages @{type=multiple; elementTypeId=COMPLEX; items=System.Object[]}
computeResource @{type=entityRef; componentId=; classId=ComputeResource; id=f1c2156e-90dd-4ff3-8086-45df90949adb; label=Cluster01 (vCenter)}
reservationNetworks @{type=multiple; elementTypeId=COMPLEX; items=System.Object[]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment