예제 #1
0
파일: dc.py 프로젝트: lcdbba/vsphere-client
def dc_get(service, name=None):
    return esx_objects_retrieve(service, vim.Datacenter, EsxDataCenter, name)
예제 #2
0
def pool_get(service, name=None):
    return esx_objects_retrieve(service, vim.ResourcePool, EsxResourcePool,
                                name)
예제 #3
0
def host_get(service, name=None):
    return esx_objects_retrieve(service, vim.HostSystem, EsxHost, name)
예제 #4
0
def cluster_get(service, name=None):
    return esx_objects_retrieve(service, vim.ClusterComputeResource,
                                EsxCluster, name)
예제 #5
0
def pool_get(service, name=None):
    return esx_objects_retrieve(service, vim.ResourcePool, EsxResourcePool, name)
예제 #6
0
def folder_get(service, name=None):
    return esx_objects_retrieve(service, vim.Folder, EsxFolder, name)
예제 #7
0
def ds_get(service, name=None):
    return esx_objects_retrieve(service, vim.Datastore, EsxDataStore, name)
예제 #8
0
def host_get(service, name=None):
    return esx_objects_retrieve(service, vim.HostSystem, EsxHost, name)
예제 #9
0
def cluster_get(service, name=None):
    return esx_objects_retrieve(service, vim.ClusterComputeResource, EsxCluster, name)
예제 #10
0
파일: dc.py 프로젝트: tomrtc/vsphere-client
def dc_get(service, name=None):
    return esx_objects_retrieve(service, vim.Datacenter, EsxDataCenter, name)