How to delete deployed resource automatically with VMware Aria Orchestrator - part 2
Cloud Depth
by clouddepth.com
1w ago
Custom Form Aria Build Tools allows us to create a custom form using the JSON file. Ensure the JSON file’s name is the same as the workflow. We can create multiple workflows with their custom forms inside the same projects using this pattern. For example: workflow1.wf.ts will always come with workflows1.wf.form.json and workflow2.fw.ts will come with workflow2.wf.form.json The custom form ..read more
Visit website
How to delete deployed resource automatically with VMware Aria Orchestrator
Cloud Depth
by clouddepth.com
2w ago
Problem There is a common use case where users require temporary resources to test something, often referred to as a Proof of Concept (POC). Unfortunately, many POCs are forgotten and left to consume unnecessary resources, energy, and money. What if we could create self-destructing resources that automatically expire after a specified time? This would be a convenient and efficient solution. T ..read more
Visit website
How to setup the workstation for Build Tools for VMware Aria - part 2
Cloud Depth
by clouddepth.com
3w ago
In the previous step, we reached a point where we had an empty project with all the default, pre-defined packages and settings. This should look like the following: One important thing to remember is that certain elements, such as types, unit tests, etc., cannot be transferred to vRO. However, Build Tools can convert cool features like Classes and Promises to pure JS, making them compatib ..read more
Visit website
How to use external validations
Cloud Depth
by clouddepth.com
3w ago
Problem Ever crafted a meticulously designed workflow, only to have it fail midway through execution? The ensuing troubleshooting dilemma is familiar: manually complete the remaining steps or dismantle everything and start anew. Often, we design the “commissioning” workflow, neglecting a crucial counterpart – the “decommissioning” process that gracefully handles errors and cleans up created ob ..read more
Visit website
How to retry the async function on vRO?
Cloud Depth
by clouddepth.com
1M ago
Hey there! Do you happen to know how we can retry an async function on vRO? Let’s figure it out. Problem Let’s say we have some async function myFunction that we want to execute multiple times until we get the expected result. public myFunction = async ( varA: string ) => { return await someAsyncFunction( varA ) } Solution To achieve this goal, we need a retry function. Let’s see how ..read more
Visit website
How to create a vRO Configuration Element?
Cloud Depth
by clouddepth.com
1M ago
Configuration Element on steroids Configuration element is one of the essential and outstanding features of vRO. It is recommended that some constant variables be updated manually from time to time without hardcoding them in the main code, for example. Creation of the Configuration Element The vRBT allows us to create a Config Element using code. The example below shows how to do that. impo ..read more
Visit website
How to resolve FQDN to an IP address in Aria Orchestrator
Cloud Depth
by clouddepth.com
1M ago
Let’s see how we can use the built-in System.resolveHostName() method in vRO to resolve the FQDN to the IP address. Implementation We’re going to create a new class with a few methods: waitForDNSResolve isValidIPv4 throwError Let’s say we created a new A record in the DNS server and must wait until the address is resolved to continue the workflow. It may take some time until the IP ..read more
Visit website
How to SSH to remote host from Aria Orchestrator
Cloud Depth
by clouddepth.com
1M ago
Implementation We’re going to create a new class SSH with a few methods: executeSshCommand setNewSshSessions Connecting with SSH to the remote server is always an asynchronous action. Therefore, we need to wait until the execution will be done. executeSshCommand() First, we will define a few mandatory constants, which are self-explanatory. One is the path where the private SSH key is ..read more
Visit website
How to get VMware vCenter VM network details using Aria Orchestrator
Cloud Depth
by clouddepth.com
1M ago
Let’s take a quick look at a simple one that returns the IP details of the VM running in VMware vCenter, using VSCode, Build Tools for VMware Aria, and Typescript project. Create a Class and a method We’ll create a sample class using one method to achieve this goal. First, our function (method) is a part of the Network class, where we can create more methods in the same topic if needed. Secon ..read more
Visit website

Follow Cloud Depth on FeedSpot

Continue with Google
Continue with Apple
OR