• Something that I’m sure you will all be aware of is that you can “pretty print” a JavaScript object with JSON.stringify.

    So for example, System.log(object) will log a flat JSON string to the console by default.

    standard

    The other week, one of guys that I’m working with on my current engagement pointed me towards the space parameter of JSON.stringify().

    Here is the syntax from MDN:

    stringifysyntax

    [read more]
  • yu99014mrpp3n1pe4813

    Last week I had the pleasure of presenting section 4 of the VCP6-CMA exam blueprint on #vBrownBagEMEA. Not only was this my first #vBrownBag session, it was the first time I’d presented to an unknown audience.

    Having never done anything like this before I was quite apprehensive. There are a lot of external factors that you rely on. Reliable audio equipment, a good internet connection and not to mention somehow trying to keep the live demo gods happy. But the main thing I had to keep in mind is that you don’t learn by wishing that you’d done something, you learn by doing and making mistakes.

    Luckily everything went swimmingly and there were no technical issues. Whilst it was far from perfect, It was great fun  and I will take the experience as a foundation to build on for future presentations.

    So far we have seen presentations covering, sections one, two, four.

    Next up is section five, Allocate and Manage vRealize Automation Reseouces, which will be presented by Xtravirt’s Matthew Bunce (@virtualisedgeek) and ITQ’s Marco van Baggum (@vMBaggum).

    Don’t forget to register for future sessions here.

    Many thanks to team #vBrownBagEMEA!

    [read more]
  • A while ago I pushed this package to flow grab. It’s called Reservation Manager and provides a way to create vRealize Automation reservations based on JSON templates.

    ReservationManager

    It uses the vCACCAFERestClientscripting class provided by the vRA Orchestrator plug-in so requires no HTTP-REST host config and no additional authentication.

    Functionality is still pretty basic but the following post outlines the function of each workflow in the package.

    [read more]
  • First of all, the documentation states that you should authenticate as a Tenant Administrator to work with this API. This wont work because it is the job of the Fabric Administrator to manage network profiles. You simply get a 403 response when trying to use any of the methods.

    403

    Judging from a conversation I had on twitter, it seems that Phrashant Chamarty had already come across this.

    But once you have authenticated with the right user most things appear to work…

    [read more]
  • What is a resource type?

    This is straight from the catalog-service API docs:

    A type assigned to resources. The types are defined by the provider types. It allows similar resources to be grouped together. For example, all vCloud Director VMs would have the same resource type, regardless of which VCD provider they came from. ResourceTypes may be hierarchical in which case the parentType can be set.

    And in simple terms… It’s how items are grouped in the left hand navigation when you select the items tab in the web console.

    [read more]