Data Object - VsanMassCollectorSpec(vim.VsanMassCollectorSpec)

Parameter to
VsanRetrieveProperties
Extends
DynamicData
See also
VsanMassCollectorPropertyParams, VsanResourceConstraint
Since
vSAN API 6.6

Data Object Description

Spec for VsanMassCollector.VsanRetrieveProperties

Properties

Name Type Description
constraint*VsanResourceConstraint

Filter the returned result with VsanResourceConstraint
objectCollection*xsd:string

Specify mass hosts or clusters collection. Support regular or vSAN enabled host or cluster objects.

See VsanMassCollectorObjectCollectionEnum for possible collection enum.

Note that either the

objects
or the
objectCollection
parameter is required.


See VsanMassCollectorObjectCollectionEnum

objects*ManagedObjectReference[]

List of ManagedObject to retrieve properties for. These are typically HostSystem or ClusterComputeResource. The object type should be homogeneous (mixed-type is not supported) since we collecting the same properties for them. This parameter will be ignored when the objectCollection parameter is specified (i.e.
objectCollection =
    VsanMassCollectorObjectCollectionEnum.ALL_HOSTS
). Note that either the
objects
or the
objectCollection
parameter is required.
propertiesxsd:string[]

List of properties to retrieve.

Properties for vSAN enabled ClusterComputeResource can be:

  • advanceConfigInfo
  • allFlashCapabilities
  • archivalAccessibilityStatus
  • attachToSrHistory
  • captureVsanPcap
  • clomdLiveness
  • clusterCreateVmHealthHistoryTest
  • clusterDataEfficiencyCapacity
  • clusterHclInfo
  • clusterHealth
  • clusterHealthSummary
  • clusterHostsProfilingData
  • clusterNetworkPerfHistoryTest
  • clusterStatus
  • clusterVmdkLoadHistoryTest
  • clusterVmdkWorkloadTypes
  • cmmdsPhoneHomeData
  • dataProtectionConfigInfo
  • datastoreUsage
  • dpdLiveness
  • encryptionHealthSummary
  • esxCliData
  • fileServiceHealthSummary
  • hostLogBundle
  • hostVsiData
  • isRebalanceRunning
  • iscsiHomeObject
  • iscsiInitiatorGroup
  • iscsiInitiatorGroups
  • iscsiLUN
  • iscsiLUNs
  • iscsiTarget
  • iscsiTargetServiceConfig
  • iscsiTargetServiceProcessesStatus
  • iscsiTargetServiceStatus
  • iscsiTargetServiceVersion
  • iscsiTargets
  • nodeInformation
  • numOfWitnessHosts
  • objectHealthSummary
  • objectIdentities
  • phoneHomeData
  • physicalDiskHealthSummary
  • preferredFaultDomain
  • queryComponentsLimit
  • resourceCheckStatus
  • runtimeStats
  • smartStatsSummary
  • spaceUsage
  • statsObjectInformation
  • stretchedClusterConfigIssues
  • stretchedClusterVcCapability
  • supportedDiskFormatVersion
  • supportedEntityTypes
  • syncingVsanObjectsSummary
  • timeRanges
  • upgradeStatus
  • verifyClusterHealthSystemVersions
  • verifyClusterNetworkSettings
  • vsanCapabilities
  • vsanClusterConfigInfoEx
  • vsanClusterHealthCheckInterval
  • vsanClusterHealthConfig
  • vsanClusterSilentChecks
  • vsanDisableNetworkDiagnostic
  • vsanEnableNetworkDiagnostic
  • vsanPerf
  • vsanPerfTopEntities
  • vsanPhysicalDisks
  • vsanResetBundleCollectionTime
  • vsanTriggerDiagnosticCollection
  • vsanVumConfig
  • witnessHosts

Properties for vSAN enabled HostSystem can be:

  • advCfg
  • allFlashCapability
  • checkLimits
  • clomdLiveness
  • coredumpPartitionInfo
  • daemonLiveness
  • diskMappings
  • diskRebalanceStatus
  • ditEncryptionHealthSummary
  • encryptionHealthSummary
  • fileServiceHealthSummary
  • hclInfo
  • hostEMMState
  • hostLogBundle
  • hostPatch
  • hostRetrieveLookupTable
  • objectHealthSummary
  • physicalDiskHealthSummary
  • proactiveRebalanceInfo
  • stretchedClusterHostCapability
  • verifyNetworkSettings
  • version
  • vsanConfigs
  • vsanCountLogTraceLines

propertiesParams*VsanMassCollectorPropertyParams[]

Some property required additional parameters to be passed in (e.g. perfQuery).

Code example for perfQuery properties_params:


       def test_mass_collector_vsan_perf_query(vsanStub):
          mc = GetMassCollector(vsanStub)
          massCollectorSpec = build_mass_collector_spec(
             properties=['vsanPerf'],
             objectType='ALL_CLUSTERS',
             propertiesParams=[build_vsan_perf_params()])
          result = mc.VsanRetrieveProperties(massCollectorSpecs=[massCollectorSpec])
 
       def build_vsan_perf_params():
          return vim.VsanMassCollectorPropertyParams( propertyName='vsanPerf',
             propertyParams=[build_perf_query_specs()])
 
       def build_perf_query_specs():
          property_param = vim.KeyAnyValue()
          property_param.key = 'querySpecs'
 
          endTime = datetime.datetime.utcnow()
          startTime = endTime - datetime.timedelta(2)
 
          perfQuerySpec = vim.cluster.VsanPerfQuerySpec(
             entityRefId="*", startTime=startTime, endTime=endTime)
 
          property_param.value = vim.DynamicArray(val=[perfQuerySpec])
          return property_param
 
       def build_mass_collector_spec(properties=None, objectType=None,
          propertiesParams=None):
          massCollectorSpec = vim.VsanMassCollectorSpec()
          massCollectorSpec.properties = properties
          objCollection = vim.VsanMassCollectorObjectCollectionEnum(objectType)
          massCollectorSpec.objectCollection = objCollection
          if propertiesParams:
             massCollectorSpec.propertiesParams = propertiesParams
          return massCollectorSpec
 
    


Properties inherited from DynamicData
None
*Need not be set
Show WSDL type definition