Tagged: code

vRA8 Custom Properties – The Great Spring Clean

Of late I have been working on a number of Cloud Templates that require quite an extensive set of custom properties to be set. These custom properties are used to enable further configuration to take place during the deployment process. Additionally, some contain computed values that are then...

Simplistic considered coding practices

Recently I have been asked about my methods for creating dummy data, coding styles, coding habits, how to …. well, just about every aspect of how I like to code in vRO. In fact, how I like to code in vRO is how I like to code in...

Backup Your Code Stream Pipelines.. With A Pipeline!

Introduction In this post I will be providing you with a Code Stream pipeline that is capable of exporting all pipelines in your Code Stream instance, committing them into a GitHub repository and pushing the commits back to GitHub.   Assumptions I have made a few assumptions that...

vRA 8.3 REST Api Calls With Code Stream

Introduction In this post I will be providing an example of how to make REST API calls from Code Stream obtain an API token from the vRA 8.3 REST api obtain a list of Cloud Accounts registered with vRA filter for a specific Cloud Account on vRA  ...

Extensibility & PowerShell – Playing the Property Game

Recently I have been having some fun and games with vRA 8.2, in particular, with the extensibility capabilities. With the introduction of PowerShell support for vRA actions, I thought I would have a little play and see what I could break. I’m On A MetaData Hunt.. Ok, so...

Licensing Made Simple

Summary This tutorial will show you how to apply one or more licenses to vCenter through the use of Terraform. This can be expanded on to create a module that can be used across multiple vSphere environments.   Structure First of all, we are going to create a...

Simple Remote State Management With Terraform Cloud

Summary In this blog post we will look at configuring Terraform Cloud to remotely host our Terraform state file. Terraform cloud has multiple levels of subscriptions available. The good news is, we only need the free one! This post assumes that you have some Terraform config already setup....

Terraform and vSphere – Part Three

Summary This is part three of a series aimed at getting you going with Terraform in a vSphere environment.  The series will assume you understand the concepts of IaC and Terraform, at a basic level. In part one, we setup Terraform and created a basic definition to create...

Terraform and vSphere – Part Two

Summary This is part two of a series aimed at getting you going with Terraform in a vSphere environment.  The series will assume you understand the concepts of IaC and Terraform, at a basic level. In part one, we setup Terraform and created a basic definition to create...

Terraform and vSphere – Part One

Summary This is part one of a series aimed at getting you going with Terraform in a vSphere environment.  The series will assume you understand the concepts of IaC and Terraform, at a basic level. We will start by getting setup with Terraform, creating a basic definition to...

Introducing Terraform

  [editor comment: if you don’t know what Infrastructure As Code (IaC) is I recommend reading this post first]     What Is Terraform Terraform is an open source tool that helps you provision, manage the state of and update, infrastructure. Terraform works by using Infrastructure as Code...

Introducing Infrastructure As Code

  IT Infrastructure.. love it or hate it, it forms the foundation of many companies operations. These days you are hard pushed to get a job anyway doing anything, that doesn’t require you to use a computer, mobile phone, email, websites, a word processor…. the list goes on....

MockSmart

Introducing MockSmart

MockSmart is a simple to use, Ubuntu based appliance that enables you to mock REST based API responses. In fact, you can quickly mock any REST based api and consume it from any of your favourite automation products or development environments. As long as it can make REST...

Automating Office365 with VMware vRO – Part Three

Note: Please ensure you have read Part One and Part Two in this series before continuing Recap In Part Two we Reader Activity Review 1. We successfully created our first action. 2. We configured the input for the action. 3. We configured our output, or return value for...

Automating Office365 with VMware vRO – Part Two

Note: Please ensure you have read Part One in this series before continuing Recap In Part One we Reader Activity Review 1. Became familiar with the Microsoft Graph API. 2. Tested the API using the Graph Explorer. 3. Became familiar with the Graph API Reference guide. 4. Registered...

Automating Office365 with VMware vRO – Part One

  Recently I have been working on projects where I have been asked to automate actions within Office365. An example of this is to create a new user. Thankfully, Microsoft have the great Microsoft.Graph API that helps with this. Did you know that the Graph API has been...

Scorch Integration Toolkit and WIX > 3.5

Recently I have been doing some work with Microsoft Orchestrator again. One of the tasks I have been working on has been to write some custom code to introduce missing action functionality. Whilst I have been writing this code in C# in Visual Studio, it needs to be...

Configuration Element to Json Transformer

I love using Configuration Elements in VMware vRO to store repetitive information. What I don’t like is making multiple calls to get information back or making a call which pulls back a load of data that I then have to man handle through my flow to where I...