Giter Club home page Giter Club logo

vro-plugin-basicmachine's Introduction

vro-plugin-basicmachine

The BasicMachine plugin allows persistent storage of information about virtual machines as resources within the VMware vRealize Orchestrator. The stored resources of the type BasicMachine are displayed graphically in the plugin inventory. The so-called class BasicMachineManager provides methods to create, update, and remove these resources. It also offers several methods for querying and filtering.

Plugin was tested under

vRealize Automation 7.5.0, vRealize Automation 7.4.0, vRealize Automation 7.3.1 and vRealize Orchestrator 7.6.0 ✅

Functionality

Configurations/Resources will stored persistent ✔
Configurations/Resources will cached by the plugin for better performance ✔
Configurations/Resources show up in the plugin inventory ✔
Workflow included for save, delete and update BasicMachine's ✔

Predefined Workflows

  • Save BasicMachine
    -Stores the configuration details persisten as a BasicMachine resource on the endpoint.
  • Delete BasicMachine
    -Removes a BasicMachine resource from the persistent storage on the endpoint.

Import Workflows

  1. Download o11nplugin-basicmachine-package-1.0.package.
  2. Change from Run to Design in the Drop-Box on the Top of the Window.
  3. Select the package icon from the tabs.
  4. Select the import package icon right under the Design Drop-Box.
  5. Browse the downloaded package file and click open.
  6. When the Package Import Information pop-up click import.
  7. Select the Workflows and click Import Selected elements.

BasicMachine:BasicMachine (Type)

BasicMachine (ScriptingObject)

Properties
  • owner (String)
  • name (String)
  • ipAddress (String)
  • dnsName (String)
  • cpu (String)
  • memory (String)
  • operatingSystem (String)
  • diskSize (String)
  • powerState (String)
  • snapshot (String)
  • initialUsername (String)
  • initialPassword (String)
  • description (String)
  • json (String)

BasicMachineManager (Singleton)

Methods
  • saveBasicMachine(owner, name, ipAddress, dnsName, cpu, memory, operatingSystem, diskSize, powerState, snapshot, initialUsername, initialPassword, description, json)
  • deleteBasicMachine(id)
  • getBasicMachineByID(id)
  • allBasicMachines()
  • getBasicMachinesByOwner(owner)
  • getBasicMachinesByName(name)
  • getBasicMachinesByOperatingSystem(operatingSystem)
  • getBasicMachinesByDnsName(dnsName)
  • getBasicMachinesByIpAddress(ipAddress)

Note: All properties can also be accessed and modified directly!

Example:

var bm = BasicMachineManager.getBasicMachineById(id);

bm.owner = "johndoe"
bm.name = "machineA";
bm.ipAddress = "0.0.0.0";
bm.dnsName = "machineA";
bm.cpu = "2";
bm.memory = "1024";
bm.operatingSystem = "linux";
bm.diskSize = "3096"";
bm.powerState = "0";
bm.snapshot = "0";
bm.initialUsername = "admin";
bm.initialPassword = "password";
bm.description = "this is an example";
bm.json = "json string goes here";

Screenhots

API Explorer

API-Explorer

Plugin Inventory

Inventory

vro-plugin-basicmachine's People

Contributors

dennis1987 avatar latzinger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.