public Dictionary <string, ReferenceType> GetVMWHostRefsByName() { try { return(VMWVimServer.GetVMWHostRefsByName(this.VcloudClient, this.Reference.href + "/hostReferences")); } catch (Exception ex) { throw new VCloudException(ex.Message); } }
public Dictionary <string, VmObjectRefType> GetVms(int page) { try { return(VMWVimServer.GetVms(this.VcloudClient, this.Reference.href + "/vmsList?page=" + (object)page)); } catch (Exception ex) { throw new VCloudException(ex.Message); } }
public Dictionary <string, VimObjectRefType> GetNetworkVimRefsByMoref() { try { return(VMWVimServer.GetNetworkVimRefsByMoref(this.VcloudClient, this.Reference.href + "/networks")); } catch (Exception ex) { throw new VCloudException(ex.Message); } }
public Dictionary <string, ResourcePoolType> GetResourcePools() { try { return(VMWVimServer.GetResourcePools(this.VcloudClient, this.Reference.href + "/resourcePoolList")); } catch (Exception ex) { throw new VCloudException(ex.Message); } }
public static Dictionary <string, VmObjectRefType> GetVms( vCloudClient client, ReferenceType vimServerRef) { try { return(VMWVimServer.GetVms(client, vimServerRef.href + "/vmsList")); } catch (Exception ex) { throw new VCloudException(ex.Message); } }
public static Dictionary <string, ReferenceType> GetVMWHostRefsByName( vCloudClient client, ReferenceType vimServerRef) { try { string url = vimServerRef.href + "/hostReferences"; return(VMWVimServer.GetVMWHostRefsByName(client, url)); } catch (Exception ex) { throw new VCloudException(ex.Message); } }
public static Dictionary <string, VimObjectRefType> GetNetworkVimRefsByMoref( vCloudClient client, ReferenceType vimServerRef) { try { string url = vimServerRef.href + "/networks"; return(VMWVimServer.GetNetworkVimRefsByMoref(client, url)); } catch (Exception ex) { throw new VCloudException(ex.Message); } }
public static Dictionary <string, ResourcePoolType> GetResourcePools( vCloudClient client, ReferenceType vimServerRef) { try { string url = vimServerRef.href + "/resourcePoolList"; return(VMWVimServer.GetResourcePools(client, url)); } catch (Exception ex) { throw new VCloudException(ex.Message); } }