Skip to content

Commit

Permalink
Add bindings for vSphere 7.0u1 (7.0.1.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Hristov committed Oct 30, 2020
1 parent 24092db commit a2d5df0
Show file tree
Hide file tree
Showing 4 changed files with 1,270 additions and 1,012 deletions.
112 changes: 79 additions & 33 deletions pyVmomi/EamObjects.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
# ******* WARNING - AUTO GENERATED CODE - DO NOT EDIT *******
from pyVmomi.VmomiSupport import CreateDataType, CreateManagedType, CreateEnumType
from pyVmomi.VmomiSupport import AddVersion, AddVersionParent, F_LINK, F_LINKABLE, F_OPTIONAL, F_SECRET
from pyVmomi.VmomiSupport import newestVersions, stableVersions, publicVersions, oldestVersions, dottedVersions
from .VmomiSupport import CreateDataType, CreateManagedType
from .VmomiSupport import CreateEnumType
from .VmomiSupport import AddVersion, AddVersionParent
from .VmomiSupport import AddBreakingChangesInfo
from .VmomiSupport import F_LINK, F_LINKABLE
from .VmomiSupport import F_OPTIONAL, F_SECRET
from .VmomiSupport import newestVersions, stableVersions
from .VmomiSupport import publicVersions, dottedVersions
from .VmomiSupport import oldestVersions

AddVersion("vmodl.query.version.version4", "", "null", 0, "vim25")
AddVersion("vmodl.query.version.version3", "", "null", 0, "vim25")
AddVersion("vmodl.query.version.version2", "", "null", 0, "vim25")
AddVersion("vmodl.query.version.version1", "", "null", 0, "vim25")
AddVersion("vmodl.query.version.version4", "", "", 0, "vim25")
AddVersion("vmodl.query.version.version3", "", "", 0, "vim25")
AddVersion("vmodl.query.version.version2", "", "", 0, "vim25")
AddVersion("vmodl.query.version.version1", "", "", 0, "vim25")
AddVersion("vim.version.version8", "vim25", "5.1", 0, "vim25")
AddVersion("vim.version.version9", "vim25", "5.5", 0, "vim25")
AddVersion("vim.version.version6", "vim25", "4.1", 0, "vim25")
Expand All @@ -21,8 +27,9 @@
AddVersion("eam.version.version1", "eam", "1.0", 0, "eam")
AddVersion("eam.version.version2", "eam", "2.0", 0, "eam")
AddVersion("eam.version.version6_5", "eam", "6.5", 0, "eam")
AddVersion("eam.version.version7_1", "eam", "7.1", 0, "eam")
AddVersion("eam.version.version3", "eam", "3.0", 0, "eam")
AddVersion("eam.version.version7_1", "eam", "7.1", 0, "eam")
AddVersion("eam.version.version7_2", "eam", "7.2", 0, "eam")
AddVersion("eam.version.version6_8", "eam", "6.8", 0, "eam")
AddVersion("eam.version.version6_9", "eam", "6.9", 0, "eam")
AddVersion("eam.version.version6_7", "eam", "6.7", 0, "eam")
Expand Down Expand Up @@ -238,6 +245,26 @@
AddVersionParent("eam.version.version6_5", "vmodl.version.version2")
AddVersionParent("eam.version.version6_5", "eam.version.version6")
AddVersionParent("eam.version.version6_5", "vmodl.reflect.version.version1")
AddVersionParent("eam.version.version3", "vmodl.query.version.version4")
AddVersionParent("eam.version.version3", "vmodl.query.version.version3")
AddVersionParent("eam.version.version3", "vmodl.query.version.version2")
AddVersionParent("eam.version.version3", "vmodl.query.version.version1")
AddVersionParent("eam.version.version3", "vim.version.version8")
AddVersionParent("eam.version.version3", "vim.version.version6")
AddVersionParent("eam.version.version3", "vim.version.version7")
AddVersionParent("eam.version.version3", "vim.version.version1")
AddVersionParent("eam.version.version3", "vim.version.version4")
AddVersionParent("eam.version.version3", "vim.version.version5")
AddVersionParent("eam.version.version3", "vim.version.version2")
AddVersionParent("eam.version.version3", "vim.version.version3")
AddVersionParent("eam.version.version3", "eam.version.version2_5")
AddVersionParent("eam.version.version3", "eam.version.version1")
AddVersionParent("eam.version.version3", "eam.version.version2")
AddVersionParent("eam.version.version3", "eam.version.version3")
AddVersionParent("eam.version.version3", "vmodl.version.version0")
AddVersionParent("eam.version.version3", "vmodl.version.version1")
AddVersionParent("eam.version.version3", "vmodl.version.version2")
AddVersionParent("eam.version.version3", "vmodl.reflect.version.version1")
AddVersionParent("eam.version.version7_1", "vmodl.query.version.version4")
AddVersionParent("eam.version.version7_1", "vmodl.query.version.version3")
AddVersionParent("eam.version.version7_1", "vmodl.query.version.version2")
Expand All @@ -256,8 +283,8 @@
AddVersionParent("eam.version.version7_1", "eam.version.version1")
AddVersionParent("eam.version.version7_1", "eam.version.version2")
AddVersionParent("eam.version.version7_1", "eam.version.version6_5")
AddVersionParent("eam.version.version7_1", "eam.version.version7_1")
AddVersionParent("eam.version.version7_1", "eam.version.version3")
AddVersionParent("eam.version.version7_1", "eam.version.version7_1")
AddVersionParent("eam.version.version7_1", "eam.version.version6_8")
AddVersionParent("eam.version.version7_1", "eam.version.version6_9")
AddVersionParent("eam.version.version7_1", "eam.version.version6_7")
Expand All @@ -271,26 +298,40 @@
AddVersionParent("eam.version.version7_1", "vmodl.reflect.version.version2")
AddVersionParent("eam.version.version7_1", "vim.version.version11")
AddVersionParent("eam.version.version7_1", "vim.version.version12")
AddVersionParent("eam.version.version3", "vmodl.query.version.version4")
AddVersionParent("eam.version.version3", "vmodl.query.version.version3")
AddVersionParent("eam.version.version3", "vmodl.query.version.version2")
AddVersionParent("eam.version.version3", "vmodl.query.version.version1")
AddVersionParent("eam.version.version3", "vim.version.version8")
AddVersionParent("eam.version.version3", "vim.version.version6")
AddVersionParent("eam.version.version3", "vim.version.version7")
AddVersionParent("eam.version.version3", "vim.version.version1")
AddVersionParent("eam.version.version3", "vim.version.version4")
AddVersionParent("eam.version.version3", "vim.version.version5")
AddVersionParent("eam.version.version3", "vim.version.version2")
AddVersionParent("eam.version.version3", "vim.version.version3")
AddVersionParent("eam.version.version3", "eam.version.version2_5")
AddVersionParent("eam.version.version3", "eam.version.version1")
AddVersionParent("eam.version.version3", "eam.version.version2")
AddVersionParent("eam.version.version3", "eam.version.version3")
AddVersionParent("eam.version.version3", "vmodl.version.version0")
AddVersionParent("eam.version.version3", "vmodl.version.version1")
AddVersionParent("eam.version.version3", "vmodl.version.version2")
AddVersionParent("eam.version.version3", "vmodl.reflect.version.version1")
AddVersionParent("eam.version.version7_2", "vmodl.query.version.version4")
AddVersionParent("eam.version.version7_2", "vmodl.query.version.version3")
AddVersionParent("eam.version.version7_2", "vmodl.query.version.version2")
AddVersionParent("eam.version.version7_2", "vmodl.query.version.version1")
AddVersionParent("eam.version.version7_2", "vim.version.version8")
AddVersionParent("eam.version.version7_2", "vim.version.version9")
AddVersionParent("eam.version.version7_2", "vim.version.version6")
AddVersionParent("eam.version.version7_2", "vim.version.version7")
AddVersionParent("eam.version.version7_2", "vim.version.version1")
AddVersionParent("eam.version.version7_2", "vim.version.version4")
AddVersionParent("eam.version.version7_2", "vim.version.version5")
AddVersionParent("eam.version.version7_2", "vim.version.version2")
AddVersionParent("eam.version.version7_2", "vim.version.version3")
AddVersionParent("eam.version.version7_2", "vim.version.version13")
AddVersionParent("eam.version.version7_2", "eam.version.version2_5")
AddVersionParent("eam.version.version7_2", "eam.version.version1")
AddVersionParent("eam.version.version7_2", "eam.version.version2")
AddVersionParent("eam.version.version7_2", "eam.version.version6_5")
AddVersionParent("eam.version.version7_2", "eam.version.version3")
AddVersionParent("eam.version.version7_2", "eam.version.version7_1")
AddVersionParent("eam.version.version7_2", "eam.version.version7_2")
AddVersionParent("eam.version.version7_2", "eam.version.version6_8")
AddVersionParent("eam.version.version7_2", "eam.version.version6_9")
AddVersionParent("eam.version.version7_2", "eam.version.version6_7")
AddVersionParent("eam.version.version7_2", "vmodl.version.version0")
AddVersionParent("eam.version.version7_2", "vmodl.version.version1")
AddVersionParent("eam.version.version7_2", "vmodl.version.version2")
AddVersionParent("eam.version.version7_2", "eam.version.version6")
AddVersionParent("eam.version.version7_2", "eam.version.version7")
AddVersionParent("eam.version.version7_2", "vmodl.reflect.version.version1")
AddVersionParent("eam.version.version7_2", "vim.version.version10")
AddVersionParent("eam.version.version7_2", "vmodl.reflect.version.version2")
AddVersionParent("eam.version.version7_2", "vim.version.version11")
AddVersionParent("eam.version.version7_2", "vim.version.version12")
AddVersionParent("eam.version.version6_8", "vmodl.query.version.version4")
AddVersionParent("eam.version.version6_8", "vmodl.query.version.version3")
AddVersionParent("eam.version.version6_8", "vmodl.query.version.version2")
Expand Down Expand Up @@ -492,10 +533,10 @@
AddVersionParent("vim.version.version12", "vim.version.version11")
AddVersionParent("vim.version.version12", "vim.version.version12")

newestVersions.Add("eam.version.version7_1")
stableVersions.Add("eam.version.version7_1")
publicVersions.Add("eam.version.version7_1")
dottedVersions.Add("eam.version.version7_1")
newestVersions.Add("eam.version.version7_2")
stableVersions.Add("eam.version.version7_2")
publicVersions.Add("eam.version.version7_2")
dottedVersions.Add("eam.version.version7_2")
oldestVersions.Add("eam.version.version1")

CreateManagedType("eam.EamObject", "EamObject", "vmodl.ManagedObject", "eam.version.version1", None, [("resolve", "Resolve", "eam.version.version1", (("issueKey", "int[]", "eam.version.version1", 0, None),), (F_OPTIONAL, "int[]", "int[]"), None, None), ("resolveAll", "ResolveAll", "eam.version.version1", (), (0, "void", "void"), None, None), ("queryIssue", "QueryIssue", "eam.version.version1", (("issueKey", "int[]", "eam.version.version1", F_OPTIONAL, None),), (F_OPTIONAL, "eam.issue.Issue[]", "eam.issue.Issue[]"), None, None)])
Expand Down Expand Up @@ -554,6 +595,7 @@
CreateDataType("eam.issue.VmOrphaned", "VmOrphaned", "eam.issue.VmIssue", "eam.version.version1", None)
CreateDataType("eam.issue.VmPoweredOff", "VmPoweredOff", "eam.issue.VmIssue", "eam.version.version1", None)
CreateDataType("eam.issue.VmPoweredOn", "VmPoweredOn", "eam.issue.VmIssue", "eam.version.version1", None)
CreateDataType("eam.issue.VmRequiresHostOutOfMaintenanceMode", "VmRequiresHostOutOfMaintenanceMode", "eam.issue.VmNotDeployed", "eam.version.version7_2", None)
CreateDataType("eam.issue.VmSuspended", "VmSuspended", "eam.issue.VmIssue", "eam.version.version1", None)
CreateDataType("eam.issue.VmWrongFolder", "VmWrongFolder", "eam.issue.VmIssue", "eam.version.version1", [("currentFolder", "vim.Folder", "eam.version.version1", 0), ("requiredFolder", "vim.Folder", "eam.version.version1", 0)])
CreateDataType("eam.issue.VmWrongResourcePool", "VmWrongResourcePool", "eam.issue.VmIssue", "eam.version.version1", [("currentResourcePool", "vim.ResourcePool", "eam.version.version1", 0), ("requiredResourcePool", "vim.ResourcePool", "eam.version.version1", 0)])
Expand All @@ -573,6 +615,8 @@
CreateManagedType("eam.Agency", "Agency", "eam.EamObject", "eam.version.version1", [("solutionId", "string", "eam.version.version1", 0, None), ("owner", "string", "eam.version.version6", F_OPTIONAL, None), ("config", "eam.Agency.ConfigInfo", "eam.version.version1", 0, None), ("runtime", "eam.EamObject.RuntimeInfo", "eam.version.version1", 0, None), ("agent", "eam.Agent[]", "eam.version.version1", F_OPTIONAL, None)], [("querySolutionId", "QuerySolutionId", "eam.version.version1", (), (0, "string", "string"), None, None), ("queryConfig", "QueryConfig", "eam.version.version1", (), (0, "eam.Agency.ConfigInfo", "eam.Agency.ConfigInfo"), None, None), ("update", "Update", "eam.version.version1", (("config", "eam.Agency.ConfigInfo", "eam.version.version1", 0, None),), (0, "void", "void"), None, ["eam.fault.InvalidAgentConfiguration", "eam.fault.InvalidAgencyScope", "eam.fault.InvalidUrl", ]), ("queryRuntime", "AgencyQueryRuntime", "eam.version.version1", (), (0, "eam.EamObject.RuntimeInfo", "eam.EamObject.RuntimeInfo"), None, None), ("queryAgent", "QueryAgent", "eam.version.version1", (), (F_OPTIONAL, "eam.Agent[]", "eam.Agent[]"), None, None), ("registerAgentVm", "RegisterAgentVm", "eam.version.version2", (("agentVm", "vim.VirtualMachine", "eam.version.version2", 0, None),), (0, "eam.Agent", "eam.Agent"), None, ["vmodl.fault.ManagedObjectNotFound", ]), ("unregisterAgentVm", "UnregisterAgentVm", "eam.version.version2", (("agentVm", "vim.VirtualMachine", "eam.version.version2", 0, None),), (0, "void", "void"), None, None), ("enable", "Enable", "eam.version.version1", (), (0, "void", "void"), None, None), ("disable", "Disable", "eam.version.version1", (), (0, "void", "void"), None, None), ("uninstall", "Uninstall", "eam.version.version1", (), (0, "void", "void"), None, None), ("destroyAgency", "DestroyAgency", "eam.version.version1", (), (0, "void", "void"), None, None), ("addIssue", "AddIssue", "eam.version.version2", (("issue", "eam.issue.Issue", "eam.version.version2", 0, None),), (0, "eam.issue.Issue", "eam.issue.Issue"), None, ["vmodl.fault.InvalidArgument", ])])
CreateDataType("eam.Agency.VMResourcePool", "AgencyVMResourcePool", "vmodl.DynamicData", "eam.version.version6_9", [("resourcePoolId", "vim.ResourcePool", "eam.version.version6_9", 0), ("computeResourceId", "vim.ComputeResource", "eam.version.version6_9", 0)])
CreateDataType("eam.Agency.VMFolder", "AgencyVMFolder", "vmodl.DynamicData", "eam.version.version6_9", [("folderId", "vim.Folder", "eam.version.version6_9", 0), ("datacenterId", "vim.Datacenter", "eam.version.version6_9", 0)])
CreateEnumType("eam.Agency.VMPlacementPolicy.VMDataAffinity", "AgencyVMPlacementPolicyVMDataAffinity", "eam.version.version1", ["none", "soft"])
CreateEnumType("eam.Agency.VMPlacementPolicy.VMAntiAffinity", "AgencyVMPlacementPolicyVMAntiAffinity", "eam.version.version1", ["none", "soft"])
CreateDataType("eam.Agency.ConfigInfo", "AgencyConfigInfo", "vmodl.DynamicData", "eam.version.version1", [("agentConfig", "eam.Agent.ConfigInfo[]", "eam.version.version1", F_OPTIONAL), ("scope", "eam.Agency.Scope", "eam.version.version1", F_OPTIONAL), ("manuallyMarkAgentVmAvailableAfterProvisioning", "boolean", "eam.version.version1", F_OPTIONAL), ("manuallyMarkAgentVmAvailableAfterPowerOn", "boolean", "eam.version.version1", F_OPTIONAL), ("optimizedDeploymentEnabled", "boolean", "eam.version.version1", F_OPTIONAL), ("agentName", "string", "eam.version.version1", F_OPTIONAL), ("agencyName", "string", "eam.version.version1", F_OPTIONAL), ("manuallyProvisioned", "boolean", "eam.version.version2", F_OPTIONAL), ("manuallyMonitored", "boolean", "eam.version.version2", F_OPTIONAL), ("bypassVumEnabled", "boolean", "eam.version.version2", F_OPTIONAL), ("agentVmNetwork", "vim.Network[]", "eam.version.version2", F_OPTIONAL), ("agentVmDatastore", "vim.Datastore[]", "eam.version.version2_5", F_OPTIONAL), ("preferHostConfiguration", "boolean", "eam.version.version2_5", F_OPTIONAL), ("ipPool", "vim.vApp.IpPool", "eam.version.version3", F_OPTIONAL), ("resourcePools", "eam.Agency.VMResourcePool[]", "eam.version.version6_9", F_OPTIONAL), ("folders", "eam.Agency.VMFolder[]", "eam.version.version6_9", F_OPTIONAL)])
CreateDataType("eam.Agency.Scope", "AgencyScope", "vmodl.DynamicData", "eam.version.version1", None)
CreateDataType("eam.Agency.ComputeResourceScope", "AgencyComputeResourceScope", "eam.Agency.Scope", "eam.version.version1", [("computeResource", "vim.ComputeResource[]", "eam.version.version1", F_OPTIONAL)])
Expand All @@ -590,6 +634,8 @@
CreateDataType("eam.issue.NoAgentVmNetwork", "NoAgentVmNetwork", "eam.issue.VmNotDeployed", "eam.version.version1", None)
CreateDataType("eam.issue.NoCustomAgentVmDatastore", "NoCustomAgentVmDatastore", "eam.issue.NoAgentVmDatastore", "eam.version.version1", [("customAgentVmDatastore", "vim.Datastore[]", "eam.version.version1", 0), ("customAgentVmDatastoreName", "string[]", "eam.version.version1", 0)])
CreateDataType("eam.issue.NoCustomAgentVmNetwork", "NoCustomAgentVmNetwork", "eam.issue.NoAgentVmNetwork", "eam.version.version1", [("customAgentVmNetwork", "vim.Network[]", "eam.version.version1", 0), ("customAgentVmNetworkName", "string[]", "eam.version.version1", 0)])
CreateDataType("eam.issue.NoDiscoverableAgentVmDatastore", "NoDiscoverableAgentVmDatastore", "eam.issue.VmNotDeployed", "eam.version.version1", None)
CreateDataType("eam.issue.NoDiscoverableAgentVmNetwork", "NoDiscoverableAgentVmNetwork", "eam.issue.VmNotDeployed", "eam.version.version1", None)
CreateDataType("eam.issue.OvfInvalidFormat", "OvfInvalidFormat", "eam.issue.VmNotDeployed", "eam.version.version1", [("error", "vmodl.MethodFault[]", "eam.version.version1", F_OPTIONAL)])
CreateDataType("eam.issue.VibCannotPutHostInMaintenanceMode", "VibCannotPutHostInMaintenanceMode", "eam.issue.VibIssue", "eam.version.version1", None)
CreateDataType("eam.issue.VibCannotPutHostOutOfMaintenanceMode", "VibCannotPutHostOutOfMaintenanceMode", "eam.issue.VibIssue", "eam.version.version6_5", None)
Expand Down
Loading

0 comments on commit a2d5df0

Please sign in to comment.