1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
|
# Copyright (c) 2006-2025 Broadcom. All Rights Reserved.
# Broadcom Confidential. The term "Broadcom" refers to Broadcom Inc.
# and/or its subsidiaries.
# ******* WARNING - AUTO GENERATED CODE - DO NOT EDIT *******
from typing import ClassVar
from typing import Optional
from pyVmomi.VmomiSupport import Enum
from pyVmomi.VmomiSupport import long
from pyVmomi.VmomiSupport import short
from pyVmomi.vim import Datastore
from pyVmomi.vim import DesiredSoftwareSpec
from pyVmomi.vim import EnvironmentBrowser
from pyVmomi.vim import HostSystem
from pyVmomi.vim import ManagedEntity
from pyVmomi.vim import Network
from pyVmomi.vim import ResourcePool
from pyVmomi.vim import Task
from pyVmomi.vmodl import DynamicData
from pyVmomi.vim.host import ConnectSpec
class ComputeResource(ManagedEntity):
class Summary(DynamicData):
totalCpu: int
totalMemory: long
numCpuCores: short
numCpuThreads: short
effectiveCpu: int
effectiveMemory: long
numHosts: int
numEffectiveHosts: int
overallStatus: ManagedEntity.Status
class NetworkBootMode(Enum):
bootstrap: ClassVar['NetworkBootMode'] = 'bootstrap'
stateless: ClassVar['NetworkBootMode'] = 'stateless'
class ConfigInfo(DynamicData):
vmSwapPlacement: str
spbmEnabled: Optional[bool] = None
defaultHardwareVersionKey: Optional[str] = None
maximumHardwareVersionKey: Optional[str] = None
class HostSPBMLicenseInfo(DynamicData):
class HostSPBMLicenseState(Enum):
licensed: ClassVar['HostSPBMLicenseState'] = 'licensed'
unlicensed: ClassVar['HostSPBMLicenseState'] = 'unlicensed'
unknown: ClassVar['HostSPBMLicenseState'] = 'unknown'
host: HostSystem
licenseState: HostSPBMLicenseState
class HostSeedSpec(DynamicData):
class SingleHostSpec(DynamicData):
newHostCnxSpec: Optional[ConnectSpec] = None
existingHost: Optional[HostSystem] = None
singleHostSpec: SingleHostSpec
class ConfigSpec(DynamicData):
vmSwapPlacement: Optional[str] = None
spbmEnabled: Optional[bool] = None
defaultHardwareVersionKey: Optional[str] = None
desiredSoftwareSpec: Optional[DesiredSoftwareSpec] = None
maximumHardwareVersionKey: Optional[str] = None
enableConfigManager: Optional[bool] = None
hostSeedSpec: Optional[HostSeedSpec] = None
softwareSpecId: Optional[str] = None
networkBootMode: Optional[str] = None
@property
def resourcePool(self) -> Optional[ResourcePool]: ...
@property
def host(self) -> list[HostSystem]: ...
@property
def datastore(self) -> list[Datastore]: ...
@property
def network(self) -> list[Network]: ...
@property
def summary(self) -> Summary: ...
@property
def environmentBrowser(self) -> Optional[EnvironmentBrowser]: ...
@property
def configurationEx(self) -> ConfigInfo: ...
@property
def lifecycleManaged(self) -> Optional[bool]: ...
@property
def configManagerEnabled(self) -> Optional[bool]: ...
@property
def networkBootMode(self) -> Optional[str]: ...
def EnableNetworkBoot(self, networkBootMode: str) -> Task: ...
def DisableNetworkBoot(self) -> Task: ...
def ReconfigureEx(self, spec: ConfigSpec, modify: bool) -> Task: ...
|