File: Extension.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 (82 lines) | stat: -rw-r--r-- 2,250 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
75
76
77
78
79
80
81
82
# 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 Optional

from pyVmomi.vim import Description
from pyVmomi.vim import KeyValue

from pyVmomi.vmodl import DynamicData

from pyVmomi.vim.ext import ExtendedProductInfo
from pyVmomi.vim.ext import ManagedEntityInfo
from pyVmomi.vim.ext import SolutionManagerInfo

class Extension(DynamicData):
   class ServerInfo(DynamicData):
      url: str
      description: Description
      company: str
      type: str
      adminEmail: list[str] = []
      serverThumbprint: Optional[str] = None
      serverCertificate: Optional[str] = None

   class ClientInfo(DynamicData):
      version: str
      description: Description
      company: str
      type: str
      url: str

   class TaskTypeInfo(DynamicData):
      taskID: str

   class EventTypeInfo(DynamicData):
      eventID: str
      eventTypeSchema: Optional[str] = None

   class FaultTypeInfo(DynamicData):
      faultID: str

   class PrivilegeInfo(DynamicData):
      privID: str
      privGroupName: str

   class ResourceInfo(DynamicData):
      locale: str
      module: str
      data: list[KeyValue] = []

   class HealthInfo(DynamicData):
      url: str

   class OvfConsumerInfo(DynamicData):
      callbackUrl: str
      sectionType: list[str] = []

   description: Description
   key: str
   company: Optional[str] = None
   type: Optional[str] = None
   version: str
   subjectName: Optional[str] = None
   server: list[ServerInfo] = []
   client: list[ClientInfo] = []
   taskList: list[TaskTypeInfo] = []
   eventList: list[EventTypeInfo] = []
   faultList: list[FaultTypeInfo] = []
   privilegeList: list[PrivilegeInfo] = []
   resourceList: list[ResourceInfo] = []
   lastHeartbeatTime: datetime
   healthInfo: Optional[HealthInfo] = None
   ovfConsumerInfo: Optional[OvfConsumerInfo] = None
   extendedProductInfo: Optional[ExtendedProductInfo] = None
   managedEntityInfo: list[ManagedEntityInfo] = []
   shownInSolutionManager: Optional[bool] = None
   solutionManagerInfo: Optional[SolutionManagerInfo] = None