Code Monkey home page Code Monkey logo

vmware.hcx's Introduction

PowerShell Module for HCX and HCX Cloud

Summary

PowerShell Module to interact with the VMware HCX and HCX Cloud API. More details can be found in this blog post here.

Prerequisites

Functions

  • Connect-HcxServer
  • Get-HcxCloudConfig
  • Get-HcxEndpoint
  • New-HcxMigration
  • Get-HcxMigration
  • Connect-HcxVAMI
  • Get-HcxVCConfig
  • Get-HcxLicense
  • Set-HcxLicense
  • Set-HcxVCConfig
  • Get-HcxNSXConfig
  • Set-HcxNSXConfig
  • Get-HcxCity
  • Get-HcxLocation
  • Set-HcxLocation
  • Get-HcxRoleMapping
  • Set-HcxRoleMapping
  • Get-HcxProxy
  • Set-HcxProxy
  • Remove-HcxProxy
  • Connect-HcxCloudServer
  • Get-HCXCloudActivationKey
  • Get-HCXCloudSubscription
  • New-HCXCloudActivationKey
  • Get-HCXCloud
  • Set-HCXCloud

vmware.hcx's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

frerange zohmuz7

vmware.hcx's Issues

Correction on API URL for migration

API URL for migrations are no longer valid with latest release. It need to be replaced with mobility ( example, /migrations?action=validate with /mobility/migration/validate )

400 error when tried to create job.

With new update, we can update IP address, subnet mask, gateway, DNS servers and even we can mark it as connected it or not as well as primary IP. Note, this feature can't be done via PowerCLI as it is only available with API.

I modified your modules and tried to insert all of these, but for some reason validation JSON do not show all of these and I get 400 error.

Error output as shown below. I had validated the input, all mandatory items are correctly came up in the input file, but not on the order as per the script. I did a test with correct order, but still same output. Attached my input file for reference.
Input.txt

{ "items": [ { "migrationId": "", "migrationGroupId": "", "errors": [ { "code": "E_INVALID_INPUT", "message": "Not all networks are configured." }, { "code": "E_INVALID_INPUT", "message": "Destination is not configured." }, { "code": "E_INVALID_INPUT", "message": "Placement is not configured." }, { "code": "E_INVALID_INPUT", "message": "Storage is not configured." }, { "code": "E_INVALID_INPUT", "message": "Entity is not configured." } ] } ] }

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.