File: VsanInternalSystem.pyi

package info (click to toggle)
python-pyvmomi 9.0.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,372 kB
  • sloc: python: 18,622; xml: 77; makefile: 3
file content (74 lines) | stat: -rw-r--r-- 3,184 bytes parent folder | download
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
# 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 NoReturn
from typing import Optional

from pyVmomi.VmomiSupport import ManagedObject
from pyVmomi.VmomiSupport import long

from pyVmomi.vmodl import DynamicData
from pyVmomi.vmodl import LocalizableMessage

class VsanInternalSystem(ManagedObject):
   class CmmdsQuery(DynamicData):
      type: Optional[str] = None
      uuid: Optional[str] = None
      owner: Optional[str] = None

   class PolicyCost(DynamicData):
      changeDataSize: Optional[long] = None
      currentDataSize: Optional[long] = None
      tempDataSize: Optional[long] = None
      copyDataSize: Optional[long] = None
      changeFlashReadCacheSize: Optional[long] = None
      currentFlashReadCacheSize: Optional[long] = None
      currentDiskSpaceToAddressSpaceRatio: Optional[float] = None
      diskSpaceToAddressSpaceRatio: Optional[float] = None

   class PolicySatisfiability(DynamicData):
      uuid: Optional[str] = None
      isSatisfiable: bool
      reason: Optional[LocalizableMessage] = None
      cost: Optional[PolicyCost] = None

   class PolicyChangeBatch(DynamicData):
      uuid: list[str] = []
      policy: Optional[str] = None

   class NewPolicyBatch(DynamicData):
      size: list[long] = []
      policy: Optional[str] = None

   class VsanPhysicalDiskDiagnosticsResult(DynamicData):
      diskUuid: str
      success: bool
      failureReason: Optional[str] = None

   class DeleteVsanObjectsResult(DynamicData):
      uuid: str
      success: bool
      failureReason: list[LocalizableMessage] = []

   class VsanObjectOperationResult(DynamicData):
      uuid: str
      failureReason: list[LocalizableMessage] = []

   def QueryCmmds(self, queries: list[CmmdsQuery]) -> str: ...
   def QueryPhysicalVsanDisks(self, props: list[str]) -> str: ...
   def QueryVsanObjects(self, uuids: list[str]) -> str: ...
   def QueryObjectsOnPhysicalVsanDisk(self, disks: list[str]) -> str: ...
   def AbdicateDomOwnership(self, uuids: list[str]) -> list[str]: ...
   def QueryVsanStatistics(self, labels: list[str]) -> str: ...
   def ReconfigureDomObject(self, uuid: str, policy: str) -> NoReturn: ...
   def QuerySyncingVsanObjects(self, uuids: list[str]) -> str: ...
   def RunVsanPhysicalDiskDiagnostics(self, disks: list[str]) -> list[VsanPhysicalDiskDiagnosticsResult]: ...
   def GetVsanObjExtAttrs(self, uuids: list[str]) -> str: ...
   def ReconfigurationSatisfiable(self, pcbs: list[PolicyChangeBatch], ignoreSatisfiability: Optional[bool]) -> list[PolicySatisfiability]: ...
   def CanProvisionObjects(self, npbs: list[NewPolicyBatch], ignoreSatisfiability: Optional[bool]) -> list[PolicySatisfiability]: ...
   def DeleteVsanObjects(self, uuids: list[str], force: Optional[bool]) -> list[DeleteVsanObjectsResult]: ...
   def UpgradeVsanObjects(self, uuids: list[str], newVersion: int) -> list[VsanObjectOperationResult]: ...
   def QueryVsanObjectUuidsByFilter(self, uuids: list[str], limit: Optional[int], version: Optional[int]) -> list[str]: ...