File: Profile.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 (62 lines) | stat: -rw-r--r-- 1,874 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
# 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 datetime import datetime

from typing import NoReturn
from typing import Optional

from pyVmomi.VmomiSupport import ManagedObject

from pyVmomi.vim import ExtendedElementDescription
from pyVmomi.vim import ManagedEntity
from pyVmomi.vim import Task

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

class Profile(ManagedObject):
   class CreateSpec(DynamicData):
      name: Optional[str] = None
      annotation: Optional[str] = None
      enabled: Optional[bool] = None

   class SerializedCreateSpec(CreateSpec):
      profileConfigString: str

   class ConfigInfo(DynamicData):
      name: str
      annotation: Optional[str] = None
      enabled: bool

   class Description(DynamicData):
      class Section(DynamicData):
         description: ExtendedElementDescription
         message: list[LocalizableMessage] = []

      section: list[Section] = []

   @property
   def config(self) -> ConfigInfo: ...
   @property
   def description(self) -> Optional[Description]: ...
   @property
   def name(self) -> str: ...
   @property
   def createdTime(self) -> datetime: ...
   @property
   def modifiedTime(self) -> datetime: ...
   @property
   def entity(self) -> list[ManagedEntity]: ...
   @property
   def complianceStatus(self) -> str: ...

   def RetrieveDescription(self) -> Optional[Description]: ...
   def Destroy(self) -> NoReturn: ...
   def AssociateEntities(self, entity: list[ManagedEntity]) -> NoReturn: ...
   def DissociateEntities(self, entity: list[ManagedEntity]) -> NoReturn: ...
   def CheckCompliance(self, entity: list[ManagedEntity]) -> Task: ...
   def ExportProfile(self) -> str: ...