Scripting Object - _VcPlugin

Singleton
VcPlugin

Scripting Object Description

This object serves as an aggregator for every vCenter connection defined for the plugin. It acts as an entry point from where objects belonging to multiple vCenters can be accessed.

Attributes

Name Type Description
allClusterComputeResourcesVcClusterComputeResource [] Deprecated.

Returns all ClusterComputeResources.
As of vSphere API 4.0, use getAllClusterComputeResources(additionalPropertyFilters)
allComputeResourcesVcComputeResource [] Deprecated.

Returns all ComputeResources.
As of vSphere API 4.0, use getAllComputeResources(additionalPropertyFilters)
allDatacenterFoldersVcFolder [] Deprecated.

Returns all DatacenterFolders.
As of vSphere API 4.0, use getAllDatacenterFolders(additionalPropertyFilters)
allDatacentersVcDatacenter [] Deprecated.

Returns all Datacenters.
As of vSphere API 4.0, use getAllDatacenters(additionalPropertyFilters)
allDatastoreFoldersVcFolder [] Deprecated.

Returns all DatastoreFolders.
As of vSphere API 4.0, use getAllDatastoreFolders(additionalPropertyFilters)
allDatastoresVcDatastore [] Deprecated.

Returns all Datastores.
As of vSphere API 4.0, use getAllDatastores(additionalPropertyFilters)
allDistributedVirtualPortgroupsVcDistributedVirtualPortgroup [] Deprecated.

Returns all DistributedVirtualPortgroups.
As of vSphere API 4.0, use getAllDistributedVirtualPortgroups(additionalPropertyFilters)
allHostFoldersVcFolder [] Deprecated.

Returns all HostFolders.
As of vSphere API 4.0, use getAllHostFolders(additionalPropertyFilters)
allHostSystemsVcHostSystem [] Deprecated.

Returns all HostSystems.
As of vSphere API 4.0, use getAllHostSystems(additionalPropertyFilters)
allNetworkFoldersVcFolder [] Deprecated.

Returns all NetworkFolders.
As of vSphere API 4.0, use getAllNetworkFolders(additionalPropertyFilters)
allNetworksVcNetwork [] Deprecated.

Returns all Networks.
As of vSphere API 4.0, use getAllNetworks(additionalPropertyFilters)
allResourcePoolsVcResourcePool [] Deprecated.

Returns all ResourcePools.
As of vSphere API 4.0, use getAllResourcePools(additionalPropertyFilters)
allSdkConnectionsVcSdkConnection []

Returns all SDK Connections.
allTasksVcTask [] Deprecated.

Returns all Tasks.
As of vSphere API 4.0, use getAllTasks(additionalPropertyFilters)
allVimHostsVcSdkConnection [] Deprecated.

Returns all SDK Connections.
As of vSphere API 4.0, use allSdkConnections
allVirtualAppsVcVirtualApp [] Deprecated.

Returns all VirtualApps.
As of vSphere API 4.0, use getAllVirtualApps(additionalPropertyFilters)
allVirtualMachinesVcVirtualMachine [] Deprecated.

Returns all VirtualMachines.
As of vSphere API 4.0, use getAllVirtualMachines(additionalPropertyFilters)
allVirtualMachineSnapshotsVcVirtualMachineSnapshot [] Deprecated.

Returns all VirtualMachinesSnapshots.
As of vSphere API 4.0, use getAllVirtualMachineSnapshots(additionalPropertyFilters)
allVmFoldersVcFolder [] Deprecated.

Returns all VmFolders.
As of vSphere API 4.0, use getAllVmFolders(additionalPropertyFilters)
vimHostsVcSdkConnection [] Deprecated.

Returns all SDK Connections.
As of vSphere API 4.0, use allSdkConnections

Methods

Methods defined in this Scripting Object
convertToVimManagedObject, getAllClusterComputeResources, getAllComputeResources, getAllDatacenterFolders, getAllDatacenters, getAllDatastoreFolders, getAllDatastores, getAllDistributedVirtualPortgroups, getAllHostFolders, getAllHostSystems, getAllNetworkFolders, getAllNetworks, getAllResourcePools, getAllTasks, getAllVirtualApps, getAllVirtualMachines, getAllVirtualMachineSnapshots, getAllVmFolders, getManagedObjectsForIds, getManagedObjectsForTypesAndIds, getManagedObjectsForURIs, toManagedObject, toManagedObjectRef

convertToVimManagedObject

Deprecated.

Convert one or many ManagedObjectReference(s) to ManagedObject instance(s).

Parameters

NameTypeDescription
managedObjectHolderAny

An SdkConnection object or a ManagedObject
objectVcManagedObjectReference

Object

Return Value

Type Description
Any

toManagedObject

Convert one or many ManagedObjectReference(s) to ManagedObject instance(s).

Parameters

NameTypeDescription
factoryHolderVcManagedObject

An SdkConnection object or a ManagedObject
objectVcManagedObjectReference

Object

Return Value

Type Description
VcManagedObject

toManagedObjectRef

Convert one or many ManagedObject instance(s) to ManagedObjectReference(s).

Parameters

NameTypeDescription
objectVcManagedObject

Object

Return Value

Type Description
VcManagedObjectReference

getAllDatacenterFolders

Returns all DatacenterFolders

Parameters

NameTypeDescription
additionalPropertyFiltersString []

Top level property filters
queryString

XPath query

Return Value

Type Description
VcFolder []

getAllDatacenters

Returns all Datacenters

Parameters

NameTypeDescription
additionalPropertyFiltersString []

Top level property filters
queryString

XPath query

Return Value

Type Description
VcDatacenter []

getAllHostFolders

Returns all HostFolders

Parameters

NameTypeDescription
additionalPropertyFiltersString []

Top level property filters
queryString

XPath query

Return Value

Type Description
VcFolder []

getAllHostSystems

Returns all HostSystems

Parameters

NameTypeDescription
additionalPropertyFiltersString []

Top level property filters
queryString

XPath query

Return Value

Type Description
VcHostSystem []

getAllComputeResources

Returns all ComputeResources

Parameters

NameTypeDescription
additionalPropertyFiltersString []

Top level property filters
queryString

XPath query

Return Value

Type Description
VcComputeResource []

getAllClusterComputeResources

Returns all ClusterComputeResources

Parameters

NameTypeDescription
additionalPropertyFiltersString []

Top level property filters
queryString

XPath query

Return Value

Type Description
VcClusterComputeResource []

getAllResourcePools

Returns all ResourcePools

Parameters

NameTypeDescription
additionalPropertyFiltersString []

Top level property filters
queryString

XPath query

Return Value

Type Description
VcResourcePool []

getAllVirtualApps

Returns all VirtualApps

Parameters

NameTypeDescription
additionalPropertyFiltersString []

Top level property filters
queryString

XPath query

Return Value

Type Description
VcVirtualApp []

getAllDatastoreFolders

Returns all DatastoreFolders

Parameters

NameTypeDescription
additionalPropertyFiltersString []

Top level property filters
queryString

XPath query

Return Value

Type Description
VcFolder []

getAllDatastores

Returns all Datastores

Parameters

NameTypeDescription
additionalPropertyFiltersString []

Top level property filters
queryString

XPath query

Return Value

Type Description
VcDatastore []

getAllNetworkFolders

Returns all NetworkFolders

Parameters

NameTypeDescription
additionalPropertyFiltersString []

Top level property filters
queryString

XPath query

Return Value

Type Description
VcFolder []

getAllNetworks

Returns all Networks

Parameters

NameTypeDescription
additionalPropertyFiltersString []

Top level property filters
queryString

XPath query

Return Value

Type Description
VcNetwork []

getAllDistributedVirtualPortgroups

Returns all DistributedVirtualPortgroups

Parameters

NameTypeDescription
additionalPropertyFiltersString []

Top level property filters
queryString

XPath query

Return Value

Type Description
VcDistributedVirtualPortgroup []

getAllVmFolders

Returns all VmFolders

Parameters

NameTypeDescription
additionalPropertyFiltersString []

Top level property filters
queryString

XPath query

Return Value

Type Description
VcFolder []

getAllVirtualMachines

Returns all VirtualMachines

Parameters

NameTypeDescription
additionalPropertyFiltersString []

Top level property filters
queryString

XPath query

Return Value

Type Description
VcVirtualMachine []

getAllVirtualMachineSnapshots

Returns all VirtualMachineSnapshots

Parameters

NameTypeDescription
additionalPropertyFiltersString []

Top level property filters
queryString

XPath query

Return Value

Type Description
VcVirtualMachineSnapshot []

getAllTasks

Returns all Tasks

Parameters

NameTypeDescription
additionalPropertyFiltersString []

Top level property filters
queryString

XPath query

Return Value

Type Description
VcTask []

getManagedObjectsForIds

Returns ManagedObjects of same type from their IDs

Parameters

NameTypeDescription
sdkTypeString

sdkType
idsString []

ids

Return Value

Type Description
VcManagedObject []

getManagedObjectsForTypesAndIds

Returns ManagedObjects from their types and IDs

Parameters

NameTypeDescription
sdkTypesString []

sdkTypes
idsString []

ids

Return Value

Type Description
VcManagedObject []

getManagedObjectsForURIs

Returns ManagedObjects from their URIs

Parameters

NameTypeDescription
uriStringsString

uriStrings

Return Value

Type Description
VcManagedObject []