vCloud API 5.1 Metadata

June 12, 2013

Table of Contents

Over the years there has been a lot of changes in metadata in vCloud director,so am going to give te difference between the metadata in vCloud director 5.1 and the previous ones.

The difference is:

  1. Typed values-in the latest update it must be put into a certain type, on random metadata entry.
  2. Domain and visibility-it has been made such that providers can now provide system metadata entries on objects that are not visible to users. Additionally the providers can make the metadata private thus the users cannot see the system metadata on the object at all.
  3. Objects –metadata can now be be added to new vCloud Director 5.1 objects, including disks and storage. vCloud users can add their own metadata to networks because               OrgVDC networks are now user manageable.

If you are more interested in metadata you can read it at working with object metadata in the vCloud programming guide.

I took the liberty of providing a powerCLI 5.1 R2 example:

$vapp = Get-CIVapp “MyVApp”

$metadata = $vapp.extensiondata.GetMetadata()

$metadata.MetadataEntry = New-Object VMware.VimAutomation.Cloud.Views.MetadataEntry

# I don’t have any other metadata, so index is [0].

$metadata.MetadataEntry[0].Key = “Jake”

$metadata.MetadataEntry[0].TypedValue = New-Object VMware.VimAutomation.Cloud.Views.MetadataStringValue

$metadata.MetadataEntry[0].TypedValue.Value = “vCloudNerd”

$vapp.ExtensionData.CreateMetadata($metadata)

Share on
Facebook
Twitter
LinkedIn
Pinterest
More posts

Dedicated Servers Quick Guide

What is a Dedicated Servers? Why bother using a dedicated server over a VPS or Shared Hosting?A dedicated server is a server 100% dedicated to your website/project or business needs.

VMware Fusion 6.0.2 Update Released

VMware have just released a maintainance update (6.0.2) for their Mac based Fusion product. This minor update addresses a number of bug fixes to the recently released Fusion 6.X virtualization

cPanel 2-Factor Auth Bypass

2-Factor Authentication Bypass hole in WHM cPanel security has been Reported effected WHM resellers. cPanel, a software provider to manage web hosting/websites, has recently patched a security vulnerability that allowed

Enhanced Storage Features on 5.1

Enhanced Storage Features on 5.1 SESMATEnhanced Storage features introduced by 5.1 VMFS File Sharing Limits In previous versions of vSphere, the maximum number of hosts which could share a read-only

Get 90% Discount

First 3 People gets the Bonus!
Don't Miss Out Our Big Sale

Get 0-90% On All
247Rack Services

247Rack

The Sale Is Until The End Of March