![]() ![]() Now to register the UAG $_Register($gwspec) So we only need the GatewayName, please use the exact name that was used to configure the UAG otherwise it can be added but it won’t be showing any data. ![]() Let’s define that and see what it looks like. So we need an object of the type VMware.Hv.GatewaySpec. Now i need to register the Gateway again let’s see what we need for that. To remove a gateway we use Gateway_Unregister with the gatewayid $_Unregister($gw.id) Let’s see what’s in that GeneralData (Spoiler: not a lot!) $gwdata=$_Get($gw.id) WIth _List you will get the information about all registered gateways. I Gateway_Get and Gateway_List will show the same information as always but with _Get you will need a gateway ID and it only shows the information about one gateway. Let’s see what methods are available under Gateway. I will ignore the GatewayAccessUserOrGroup since that was already in there so we are left with Gateway and GatewayHealth. ![]() First I’ll check what services there are. Since I had to add an uag to my lab for another project I decided to find out what api calls are possible. Something that was added in the last few versions of the Horizon API is the option to handle UAG’s. New View API query services in PowerCLI 10.1.1: pulling event information without the sql password.Horizon View Api’s: back to basics part 3: Methods.Horizon View Api’s: back to basics part 2: Queries.Horizon View Api’s: back to basics part 1: Connecting. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |