# ******* WARNING - AUTO GENERATED CODE - DO NOT EDIT *******
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, oldestVersions

AddVersion("dataservice.version.version1", "inventoryservice", "1.0", 0, "inventoryservice")
AddVersion("dataservice.version.version2", "inventoryservice", "2.0", 0, "inventoryservice")
AddVersion("dataservice.version.version3", "inventoryservice", "3.0", 0, "inventoryservice")
AddVersion("dataservice.version.version4", "inventoryservice", "4.0", 0, "inventoryservice")
AddVersion("vmodl.version.version2", "", "", 0, "vim25")
AddVersion("vmodl.version.version1", "", "", 0, "vim25")
AddVersion("vmodl.version.version0", "", "", 0, "vim25")
AddVersionParent("dataservice.version.version1", "dataservice.version.version1")
AddVersionParent("dataservice.version.version1", "vmodl.version.version2")
AddVersionParent("dataservice.version.version1", "vmodl.version.version1")
AddVersionParent("dataservice.version.version1", "vmodl.version.version0")
AddVersionParent("dataservice.version.version2", "dataservice.version.version1")
AddVersionParent("dataservice.version.version2", "dataservice.version.version2")
AddVersionParent("dataservice.version.version2", "vmodl.version.version2")
AddVersionParent("dataservice.version.version2", "vmodl.version.version1")
AddVersionParent("dataservice.version.version2", "vmodl.version.version0")
AddVersionParent("dataservice.version.version3", "dataservice.version.version1")
AddVersionParent("dataservice.version.version3", "dataservice.version.version2")
AddVersionParent("dataservice.version.version3", "dataservice.version.version3")
AddVersionParent("dataservice.version.version3", "vmodl.version.version2")
AddVersionParent("dataservice.version.version3", "vmodl.version.version1")
AddVersionParent("dataservice.version.version3", "vmodl.version.version0")
AddVersionParent("dataservice.version.version4", "dataservice.version.version1")
AddVersionParent("dataservice.version.version4", "dataservice.version.version2")
AddVersionParent("dataservice.version.version4", "dataservice.version.version3")
AddVersionParent("dataservice.version.version4", "dataservice.version.version4")
AddVersionParent("dataservice.version.version4", "vmodl.version.version2")
AddVersionParent("dataservice.version.version4", "vmodl.version.version1")
AddVersionParent("dataservice.version.version4", "vmodl.version.version0")
AddVersionParent("vmodl.version.version2", "vmodl.version.version2")
AddVersionParent("vmodl.version.version2", "vmodl.version.version1")
AddVersionParent("vmodl.version.version2", "vmodl.version.version0")
AddVersionParent("vmodl.version.version1", "vmodl.version.version1")
AddVersionParent("vmodl.version.version1", "vmodl.version.version0")
AddVersionParent("vmodl.version.version0", "vmodl.version.version0")

newestVersions.Add("dataservice.version.version4")
stableVersions.Add("dataservice.version.version4")
publicVersions.Add("dataservice.version.version4")
oldestVersions.Add("dataservice.version.version1")

CreateDataType("dataservice.QName", "QName", "vmodl.DynamicData", "dataservice.version.version2", [("namespaceURI", "string", "dataservice.version.version2", F_OPTIONAL), ("localPart", "string", "dataservice.version.version2", 0)])
CreateManagedType("dataservice.Service", "InventoryService", "vmodl.ManagedObject", "dataservice.version.version2", [("info", "dataservice.ServiceInformation", "dataservice.version.version2", 0, "System.Anonymous")], None)
CreateDataType("dataservice.ServiceInformation", "InventoryServiceInformation", "vmodl.DynamicData", "dataservice.version.version2", [("instanceUuid", "string", "dataservice.version.version2", 0), ("ssoSolutionUser", "string", "dataservice.version.version2", 0), ("certificate", "string", "dataservice.version.version2", 0), ("version", "string", "dataservice.version.version2", 0), ("httpPort", "int", "dataservice.version.version2", 0), ("httpsPort", "int", "dataservice.version.version2", 0), ("lookupServiceURI", "vmodl.URI", "dataservice.version.version2", 0)])
CreateDataType("dataservice.accesscontrol.AccessControl", "InventoryServiceAccessControl", "vmodl.DynamicData", "dataservice.version.version2", [("principal", "dataservice.accesscontrol.Principal", "dataservice.version.version2", 0), ("roles", "long[]", "dataservice.version.version2", F_OPTIONAL), ("propagate", "boolean", "dataservice.version.version2", 0), ("version", "long", "dataservice.version.version2", 0)])
CreateDataType("dataservice.accesscontrol.AclMapping", "InventoryServiceAclMapping", "vmodl.DynamicData", "dataservice.version.version2", [("document", "vmodl.URI", "dataservice.version.version2", 0), ("accessControlList", "dataservice.accesscontrol.AccessControl[]", "dataservice.version.version2", F_OPTIONAL)])
CreateManagedType("dataservice.accesscontrol.AuthorizationService", "AuthorizationService", "vmodl.ManagedObject", "dataservice.version.version2", None, [("addAccessControlList", "AuthorizationService.AddAccessControlList", "dataservice.version.version2", (("docUri", "vmodl.URI", "dataservice.version.version2", 0, "Authorization.ModifyPermissions"),("permissions", "dataservice.accesscontrol.AccessControl[]", "dataservice.version.version2", 0, None),), (0, "void", "void"), None, ["dataservice.fault.NotFoundFault", "dataservice.fault.UserNotFoundFault", ]), ("removeAccess", "AuthorizationService.RemoveAccess", "dataservice.version.version2", (("docUri", "vmodl.URI", "dataservice.version.version2", 0, "Authorization.ModifyPermissions"),("principals", "dataservice.accesscontrol.Principal[]", "dataservice.version.version2", 0, None),), (0, "void", "void"), None, ["dataservice.fault.NotFoundFault", ]), ("resetAccess", "AuthorizationService.ResetAccess", "dataservice.version.version2", (("docUri", "vmodl.URI", "dataservice.version.version2", 0, "Authorization.ModifyPermissions"),("permissions", "dataservice.accesscontrol.AccessControl[]", "dataservice.version.version2", F_OPTIONAL, None),), (0, "void", "void"), None, ["dataservice.fault.NotFoundFault", "dataservice.fault.UserNotFoundFault", ]), ("getAllPermissions", "AuthorizationService.GetAllPermissions", "dataservice.version.version2", (), (F_OPTIONAL, "dataservice.accesscontrol.AclMapping[]", "dataservice.accesscontrol.AclMapping[]"), "System.View", None), ("getPermissions", "AuthorizationService.GetPermissions", "dataservice.version.version2", (("docUri", "vmodl.URI", "dataservice.version.version2", 0, "System.View"),), (F_OPTIONAL, "dataservice.accesscontrol.AclMapping[]", "dataservice.accesscontrol.AclMapping[]"), None, None), ("addGlobalAccessControlList", "AuthorizationService.AddGlobalAccessControlList", "dataservice.version.version2", (("permissions", "dataservice.accesscontrol.AccessControl[]", "dataservice.version.version2", 0, None),), (0, "void", "void"), "Authorization.ModifyPermissions", ["dataservice.fault.UserNotFoundFault", ]), ("removeGlobalAccess", "AuthorizationService.RemoveGlobalAccess", "dataservice.version.version2", (("principals", "dataservice.accesscontrol.Principal[]", "dataservice.version.version2", 0, None),), (0, "void", "void"), "Authorization.ModifyPermissions", None), ("getGlobalAccessControlList", "AuthorizationService.GetGlobalAccessControlList", "dataservice.version.version2", (), (F_OPTIONAL, "dataservice.accesscontrol.AccessControl[]", "dataservice.accesscontrol.AccessControl[]"), "System.View", None), ("addOrUpdatePrivilege", "AuthorizationService.AddOrUpdatePrivilege", "dataservice.version.version2", (("privilegeId", "string", "dataservice.version.version2", 0, None),("description", "string", "dataservice.version.version2", 0, None),("group", "string", "dataservice.version.version2", 0, None),("isOnParent", "boolean", "dataservice.version.version2", 0, None),), (0, "dataservice.accesscontrol.Privilege", "dataservice.accesscontrol.Privilege"), "Authorization.ModifyPrivileges", None), ("deletePrivilege", "AuthorizationService.DeletePrivilege", "dataservice.version.version2", (("privilegeId", "string", "dataservice.version.version2", 0, None),), (0, "boolean", "boolean"), "Authorization.ModifyPrivileges", None), ("addRole", "AuthorizationService.AddRole", "dataservice.version.version2", (("name", "string", "dataservice.version.version2", 0, None),("description", "string", "dataservice.version.version2", 0, None),("privilegeIds", "string[]", "dataservice.version.version2", F_OPTIONAL, None),), (0, "dataservice.accesscontrol.Role", "dataservice.accesscontrol.Role"), "Authorization.ModifyRoles", ["dataservice.fault.AlreadyExistsFault", ]), ("addRoleByUser", "AuthorizationService.AddRoleByUser", "dataservice.version.version4", (("userName", "string", "dataservice.version.version4", 0, None),("name", "string", "dataservice.version.version4", 0, None),("description", "string", "dataservice.version.version4", 0, None),("privilegeIds", "string[]", "dataservice.version.version4", F_OPTIONAL, None),), (0, "dataservice.accesscontrol.Role", "dataservice.accesscontrol.Role"), "Authorization.ModifyRoles", ["dataservice.fault.AlreadyExistsFault", ]), ("mergeRoles", "AuthorizationService.MergeRoles", "dataservice.version.version2", (("to", "long", "dataservice.version.version2", 0, None),("from", "long", "dataservice.version.version2", 0, None),), (0, "dataservice.accesscontrol.Role", "dataservice.accesscontrol.Role"), "Authorization.ReassignRolePermissions", ["dataservice.fault.NotFoundFault", ]), ("addTenantRole", "AuthorizationService.AddTenantRole", "dataservice.version.version2", (("tenant", "vmodl.URI", "dataservice.version.version2", 0, "Authorization.ModifyRoles"),("name", "string", "dataservice.version.version2", 0, None),("description", "string", "dataservice.version.version2", 0, None),("privilegeIds", "string[]", "dataservice.version.version2", F_OPTIONAL, None),), (0, "dataservice.accesscontrol.Role", "dataservice.accesscontrol.Role"), None, ["dataservice.fault.AlreadyExistsFault", ]), ("deleteTenantRole", "AuthorizationService.DeleteTenantRole", "dataservice.version.version2", (("tenant", "vmodl.URI", "dataservice.version.version2", 0, "Authorization.ModifyRoles"),("roleId", "long", "dataservice.version.version2", 0, None),), (0, "boolean", "boolean"), None, None), ("updateRole", "AuthorizationService.UpdateRole", "dataservice.version.version2", (("role", "dataservice.accesscontrol.Role", "dataservice.version.version2", 0, None),), (0, "dataservice.accesscontrol.Role", "dataservice.accesscontrol.Role"), "Authorization.ModifyRoles", ["dataservice.fault.NotFoundFault", "dataservice.fault.AlreadyExistsFault", ]), ("updateRoleByUser", "AuthorizationService.UpdateRoleByUser", "dataservice.version.version4", (("userName", "string", "dataservice.version.version4", 0, None),("role", "dataservice.accesscontrol.Role", "dataservice.version.version4", 0, None),), (0, "dataservice.accesscontrol.Role", "dataservice.accesscontrol.Role"), "Authorization.ModifyRoles", ["dataservice.fault.NotFoundFault", "dataservice.fault.AlreadyExistsFault", ]), ("updateTenantRole", "AuthorizationService.UpdateTenantRole", "dataservice.version.version2", (("tenant", "vmodl.URI", "dataservice.version.version2", 0, "Authorization.ModifyRoles"),("role", "dataservice.accesscontrol.Role", "dataservice.version.version2", 0, None),), (0, "dataservice.accesscontrol.Role", "dataservice.accesscontrol.Role"), None, ["dataservice.fault.NotFoundFault", "dataservice.fault.AlreadyExistsFault", ]), ("deleteRole", "AuthorizationService.DeleteRole", "dataservice.version.version2", (("roleId", "long", "dataservice.version.version2", 0, None),("forceDelete", "boolean", "dataservice.version.version2", 0, None),), (0, "boolean", "boolean"), "Authorization.ModifyRoles", None), ("deleteRoleByUser", "AuthorizationService.DeleteRoleByUser", "dataservice.version.version4", (("userName", "string", "dataservice.version.version4", 0, None),("roleId", "long", "dataservice.version.version4", 0, None),("forceDelete", "boolean", "dataservice.version.version4", 0, None),), (0, "boolean", "boolean"), "Authorization.ModifyRoles", None), ("deleteRoleWithForceOption", "AuthorizationService.DeleteRoleWithForceOption", "dataservice.version.version2", (("roleId", "long", "dataservice.version.version2", 0, None),("forceDelete", "boolean", "dataservice.version.version2", 0, None),), (0, "boolean", "boolean"), "Authorization.ModifyRoles", None), ("getRoles", "AuthorizationService.GetRoles", "dataservice.version.version2", (), (F_OPTIONAL, "dataservice.accesscontrol.Role[]", "dataservice.accesscontrol.Role[]"), "System.View", None), ("getTenantRoles", "AuthorizationService.GetTenantRoles", "dataservice.version.version2", (("tenant", "vmodl.URI", "dataservice.version.version2", 0, "System.View"),), (F_OPTIONAL, "dataservice.accesscontrol.Role[]", "dataservice.accesscontrol.Role[]"), None, None), ("getPrivileges", "AuthorizationService.GetPrivileges", "dataservice.version.version2", (), (F_OPTIONAL, "dataservice.accesscontrol.Privilege[]", "dataservice.accesscontrol.Privilege[]"), "System.View", None), ("hasPrivileges", "AuthorizationService.HasPrivileges", "dataservice.version.version2", (("docUri", "vmodl.URI", "dataservice.version.version2", 0, "System.View"),("userName", "string", "dataservice.version.version2", 0, None),("groups", "string[]", "dataservice.version.version2", F_OPTIONAL, None),("privileges", "string[]", "dataservice.version.version2", 0, None),), (0, "boolean", "boolean"), None, None), ("hasSysViewPrivileges", "AuthorizationService.HasSysViewPrivileges", "dataservice.version.version2", (("docUri", "vmodl.URI", "dataservice.version.version2", 0, "System.View"),("userName", "string", "dataservice.version.version2", 0, None),("groups", "string[]", "dataservice.version.version2", F_OPTIONAL, None),), (0, "boolean", "boolean"), None, None), ("hasPrivilegesBatch", "AuthorizationService.HasPrivilegesBatch", "dataservice.version.version2", (("requests", "dataservice.accesscontrol.AuthorizationService.PrivilegeCheckRequest[]", "dataservice.version.version2", 0, None),("userName", "string", "dataservice.version.version2", 0, None),("groups", "string[]", "dataservice.version.version2", F_OPTIONAL, None),), (0, "dataservice.accesscontrol.AuthorizationService.PrivilegeCheckResult[]", "dataservice.accesscontrol.AuthorizationService.PrivilegeCheckResult[]"), None, None), ("hasGlobalPrivileges", "AuthorizationService.HasGlobalPrivileges", "dataservice.version.version2", (("userName", "string", "dataservice.version.version2", 0, None),("groups", "string[]", "dataservice.version.version2", F_OPTIONAL, None),("privileges", "string[]", "dataservice.version.version2", 0, None),), (0, "boolean", "boolean"), "System.View", None), ("getUserPrivileges", "AuthorizationService.GetUserPrivileges", "dataservice.version.version2", (("docUri", "vmodl.URI", "dataservice.version.version2", 0, "System.View"),("userName", "string", "dataservice.version.version2", 0, None),("groups", "string[]", "dataservice.version.version2", F_OPTIONAL, None),), (F_OPTIONAL, "string[]", "string[]"), None, None), ("getUserPrivilegesBatch", "AuthorizationService.GetUserPrivilegesBatch", "dataservice.version.version2", (("docUri", "vmodl.URI[]", "dataservice.version.version2", 0, "System.View"),("userName", "string", "dataservice.version.version2", 0, None),("groups", "string[]", "dataservice.version.version2", F_OPTIONAL, None),), (F_OPTIONAL, "dataservice.accesscontrol.AuthorizationService.UserPrivilegeResult[]", "dataservice.accesscontrol.AuthorizationService.UserPrivilegeResult[]"), None, None), ("getUserGlobalPrivileges", "AuthorizationService.GetUserGlobalPrivileges", "dataservice.version.version2", (("userName", "string", "dataservice.version.version2", 0, None),("groups", "string[]", "dataservice.version.version2", F_OPTIONAL, None),), (F_OPTIONAL, "string[]", "string[]"), "System.View", None)])
CreateDataType("dataservice.accesscontrol.AuthorizationService.PrivilegeCheckRequest", "PrivilegeCheckRequest", "vmodl.DynamicData", "dataservice.version.version1", [("docUri", "vmodl.URI", "dataservice.version.version1", 0), ("privileges", "string[]", "dataservice.version.version1", 0)])
CreateDataType("dataservice.accesscontrol.AuthorizationService.PrivilegeCheckResult", "PrivilegeCheckResult", "vmodl.DynamicData", "dataservice.version.version1", [("docUri", "vmodl.URI", "dataservice.version.version1", 0), ("docResult", "boolean", "dataservice.version.version1", 0)])
CreateDataType("dataservice.accesscontrol.AuthorizationService.UserPrivilegeResult", "UserPrivilegeResult", "vmodl.DynamicData", "dataservice.version.version1", [("docUri", "vmodl.URI", "dataservice.version.version1", 0), ("privilege", "string[]", "dataservice.version.version1", 0)])
CreateDataType("dataservice.accesscontrol.Principal", "AuthorizationServicePrincipal", "vmodl.DynamicData", "dataservice.version.version2", [("name", "string", "dataservice.version.version2", 0), ("group", "boolean", "dataservice.version.version2", 0)])
CreateDataType("dataservice.accesscontrol.Privilege", "AuthorizationServicePrivilege", "vmodl.DynamicData", "dataservice.version.version2", [("id", "string", "dataservice.version.version2", 0), ("description", "string", "dataservice.version.version2", 0), ("group", "string", "dataservice.version.version2", 0), ("version", "long", "dataservice.version.version2", 0), ("isOnParent", "boolean", "dataservice.version.version2", F_OPTIONAL)])
CreateDataType("dataservice.accesscontrol.Role", "AuthorizationServiceRole", "vmodl.DynamicData", "dataservice.version.version2", [("id", "long", "dataservice.version.version2", 0), ("name", "string", "dataservice.version.version2", 0), ("description", "string", "dataservice.version.version2", 0), ("tenant", "vmodl.URI", "dataservice.version.version2", F_OPTIONAL), ("privilegeId", "string[]", "dataservice.version.version2", F_OPTIONAL), ("version", "long", "dataservice.version.version2", 0)])
CreateDataType("dataservice.accesscontrol.internal.AuthInfoData", "InventoryServiceInternalAuthInfoData", "vmodl.DynamicData", "dataservice.version.version2", [("id", "string", "dataservice.version.version2", 0), ("parent", "string", "dataservice.version.version2", F_OPTIONAL), ("altParent", "string", "dataservice.version.version2", F_OPTIONAL), ("resolvedId", "string", "dataservice.version.version2", F_OPTIONAL), ("isDeleted", "boolean", "dataservice.version.version2", F_OPTIONAL), ("providerUuid", "string", "dataservice.version.version2", F_OPTIONAL), ("product", "string", "dataservice.version.version2", F_OPTIONAL), ("owner", "dataservice.accesscontrol.Principal", "dataservice.version.version2", F_OPTIONAL)])
CreateDataType("dataservice.accesscontrol.internal.AuthInfoDetail", "InventoryServiceInternalAuthInfoDetail", "vmodl.DynamicData", "dataservice.version.version2", [("version", "string", "dataservice.version.version2", 0), ("isDelta", "boolean", "dataservice.version.version2", 0), ("authInfoData", "dataservice.accesscontrol.internal.AuthInfoData[]", "dataservice.version.version2", F_OPTIONAL)])
CreateDataType("dataservice.accesscontrol.internal.AuthUpdateVersion", "InventoryServiceInternalAuthUpdateVersion", "vmodl.DynamicData", "dataservice.version.version2", [("privilegeVersion", "long", "dataservice.version.version2", 0), ("roleVersion", "long", "dataservice.version.version2", 0), ("permissionVersion", "long", "dataservice.version.version2", 0), ("globalPermissionVersion", "long", "dataservice.version.version2", 0), ("authInfoVersion", "long", "dataservice.version.version2", 0), ("sysViewPrivilegesVersion", "long", "dataservice.version.version2", 0)])
CreateDataType("dataservice.accesscontrol.internal.AuthUpdateVersionV2", "InventoryServiceInternalAuthUpdateVersionV2", "vmodl.DynamicData", "dataservice.version.version2", [("privilegeVersion", "long", "dataservice.version.version2", 0), ("roleVersion", "long", "dataservice.version.version2", 0), ("permissionVersion", "long", "dataservice.version.version2", 0), ("globalPermissionVersion", "long", "dataservice.version.version2", 0), ("authInfoVersion", "long", "dataservice.version.version2", 0), ("sysViewPrivilegesVersion", "long", "dataservice.version.version2", 0)])
CreateManagedType("dataservice.accesscontrol.internal.AuthorizationServiceInternal", "AuthorizationServiceInternal", "vmodl.ManagedObject", "dataservice.version.version2", None, [("getImpliedSystemViewPrivilegeDetail", "GetImpliedSystemViewPrivilegeDetail", "dataservice.version.version2", (("providers", "string[]", "dataservice.version.version2", F_OPTIONAL, None),("products", "string[]", "dataservice.version.version2", F_OPTIONAL, None),("version", "string", "dataservice.version.version2", F_OPTIONAL, None),), (0, "dataservice.accesscontrol.internal.SysViewPrivilegeDetail", "dataservice.accesscontrol.internal.SysViewPrivilegeDetail"), "System.View", None), ("getAuthInfoDetail", "GetAuthInfoDetail", "dataservice.version.version2", (("providers", "string[]", "dataservice.version.version2", F_OPTIONAL, None),("products", "string[]", "dataservice.version.version2", F_OPTIONAL, None),("version", "string", "dataservice.version.version2", F_OPTIONAL, None),), (0, "dataservice.accesscontrol.internal.AuthInfoDetail", "dataservice.accesscontrol.internal.AuthInfoDetail"), "System.View", None), ("getPermissions", "GetPermissions", "dataservice.version.version2", (("providers", "string[]", "dataservice.version.version2", F_OPTIONAL, None),("products", "string[]", "dataservice.version.version2", F_OPTIONAL, None),("version", "string", "dataservice.version.version2", F_OPTIONAL, None),), (0, "dataservice.accesscontrol.internal.PermissionsDetail", "dataservice.accesscontrol.internal.PermissionsDetail"), "System.View", None), ("getCacheSyncPermissions", "GetCacheSyncPermissions", "dataservice.version.version2", (("providers", "string[]", "dataservice.version.version2", F_OPTIONAL, None),("products", "string[]", "dataservice.version.version2", F_OPTIONAL, None),("version", "string", "dataservice.version.version2", F_OPTIONAL, None),), (0, "dataservice.accesscontrol.internal.PermissionsDetail", "dataservice.accesscontrol.internal.PermissionsDetail"), "System.View", None), ("addSolutionRole", "AddSolutionRole", "dataservice.version.version2", (("id", "long", "dataservice.version.version2", 0, None),("name", "string", "dataservice.version.version2", 0, None),("description", "string", "dataservice.version.version2", 0, None),("privilegeIds", "string[]", "dataservice.version.version2", F_OPTIONAL, None),), (0, "dataservice.accesscontrol.Role", "dataservice.accesscontrol.Role"), "Authorization.ModifyRoles", ["dataservice.fault.AlreadyExistsFault", ]), ("addOrUpdatePrivileges", "AddOrUpdatePrivileges", "dataservice.version.version2", (("privileges", "dataservice.accesscontrol.Privilege[]", "dataservice.version.version2", 0, None),), (0, "void", "void"), "Authorization.ModifyPrivileges", None), ("relocateRole", "RelocateRole", "dataservice.version.version2", (("roleId", "long", "dataservice.version.version2", 0, None),), (0, "void", "void"), "Authorization.ModifyRoles", None), ("getRelocatedRole", "GetRelocatedRole", "dataservice.version.version2", (("roleId", "long", "dataservice.version.version2", 0, None),), (0, "long", "long"), "System.View", None), ("waitForNextUpdate", "WaitForNextUpdate", "dataservice.version.version2", (("currVersion", "dataservice.accesscontrol.internal.AuthUpdateVersion", "dataservice.version.version2", F_OPTIONAL, None),), (0, "dataservice.accesscontrol.internal.AuthUpdateVersion", "dataservice.accesscontrol.internal.AuthUpdateVersion"), "System.View", None), ("waitForNextUpdateV2", "WaitForNextUpdateV2", "dataservice.version.version2", (("currVersion", "dataservice.accesscontrol.internal.AuthUpdateVersionV2", "dataservice.version.version2", F_OPTIONAL, None),), (0, "dataservice.accesscontrol.internal.AuthUpdateVersionV2", "dataservice.accesscontrol.internal.AuthUpdateVersionV2"), "System.View", None), ("removeProviderPermissions", "RemoveProviderPermissions", "dataservice.version.version2", (("provider", "string", "dataservice.version.version2", 0, None),), (0, "void", "void"), "Authorization.ModifyPermissions", None)])
CreateDataType("dataservice.accesscontrol.internal.PermissionsDetail", "InventoryServiceInternalPermissionsDetail", "vmodl.DynamicData", "dataservice.version.version2", [("version", "string", "dataservice.version.version2", 0), ("isDelta", "boolean", "dataservice.version.version2", 0), ("permissions", "dataservice.accesscontrol.AclMapping[]", "dataservice.version.version2", F_OPTIONAL)])
CreateDataType("dataservice.accesscontrol.internal.PersistedRole", "InventoryServiceInternalPersistedRole", "dataservice.accesscontrol.Role", "dataservice.version.version2", [("mergedWith", "long", "dataservice.version.version2", F_OPTIONAL)])
CreateDataType("dataservice.accesscontrol.internal.PrincipalDocMapping", "InventoryServicePrincipalDocMapping", "vmodl.DynamicData", "dataservice.version.version2", [("principal", "dataservice.accesscontrol.Principal", "dataservice.version.version2", 0), ("docCount", "int", "dataservice.version.version2", F_OPTIONAL)])
CreateDataType("dataservice.accesscontrol.internal.SysViewPrivilegeData", "InventoryServiceSysViewPrivilegeData", "vmodl.DynamicData", "dataservice.version.version2", [("docId", "vmodl.URI", "dataservice.version.version2", 0), ("childrenWithPermission", "dataservice.accesscontrol.internal.PrincipalDocMapping[]", "dataservice.version.version2", F_OPTIONAL)])
CreateDataType("dataservice.accesscontrol.internal.SysViewPrivilegeDetail", "InventoryServiceSysViewPrivilegeDetail", "vmodl.DynamicData", "dataservice.version.version2", [("version", "string", "dataservice.version.version2", 0), ("isDelta", "boolean", "dataservice.version.version2", 0), ("privilegeData", "dataservice.accesscontrol.internal.SysViewPrivilegeData[]", "dataservice.version.version2", F_OPTIONAL)])
CreateManagedType("dataservice.authentication.SessionManager", "InventoryServiceSessionManager", "vmodl.ManagedObject", "dataservice.version.version2", None, [("loginBySamlToken", "InventoryServiceSamlLogin", "dataservice.version.version2", (), (0, "void", "void"), "System.Anonymous", None), ("logout", "InventoryServiceLogout", "dataservice.version.version3", (), (0, "boolean", "boolean"), "System.Anonymous", None), ("login", "InventoryServiceLogin", "dataservice.version.version2", (("username", "string", "dataservice.version.version2", 0, None),("password", "string", "dataservice.version.version2", 0, None),), (0, "void", "void"), "System.Anonymous", None)])
CreateDataType("dataservice.fault.AlreadyExistsFault", "InventoryServiceAlreadyExistsFault", "vmodl.MethodFault", "dataservice.version.version1", None)
CreateDataType("dataservice.fault.InternalErrorFault", "InventoryServiceInternalErrorFault", "vmodl.RuntimeFault", "dataservice.version.version1", None)
CreateDataType("dataservice.fault.InvalidConfigurationFault", "InventoryServiceInvalidConfigurationFault", "vmodl.MethodFault", "dataservice.version.version1", None)
CreateDataType("dataservice.fault.InvalidTagAssociationFault", "InventoryServiceInvalidTagAssociationFault", "vmodl.MethodFault", "dataservice.version.version2", None)
CreateDataType("dataservice.fault.NotAuthenticatedFault", "InventoryServiceNotAuthenticatedFault", "vmodl.fault.SecurityError", "dataservice.version.version1", None)
CreateDataType("dataservice.fault.NotFoundFault", "InventoryServiceNotFoundFault", "vmodl.MethodFault", "dataservice.version.version1", [("object", "vmodl.URI", "dataservice.version.version1", F_OPTIONAL)])
CreateDataType("dataservice.fault.URINotFoundFault", "InventoryServiceURINotFoundFault", "vmodl.MethodFault", "dataservice.version.version2", [("object", "vmodl.URI", "dataservice.version.version2", 0)])
CreateDataType("dataservice.fault.UserNotFoundFault", "InventoryServiceUserNotFoundFault", "vmodl.MethodFault", "dataservice.version.version1", [("principalName", "string", "dataservice.version.version1", F_OPTIONAL)])
CreateDataType("dataservice.provider.ProviderConfiguration", "InventoryServiceProviderConfiguration", "vmodl.DynamicData", "dataservice.version.version1", [("product", "string", "dataservice.version.version1", 0), ("providerUuid", "string", "dataservice.version.version1", 0), ("indexConfiguration", "dataservice.provider.ProviderConfiguration.IndexConfiguration[]", "dataservice.version.version1", F_OPTIONAL), ("createProperty", "dataservice.provider.ProviderConfiguration.CreateProperty[]", "dataservice.version.version2", F_OPTIONAL), ("providerFeed", "vmodl.URI", "dataservice.version.version1", F_OPTIONAL), ("schema", "vmodl.URI", "dataservice.version.version1", F_OPTIONAL), ("providerKind", "string", "dataservice.version.version1", 0), ("permissionParentProperty", "dataservice.QName", "dataservice.version.version2", F_OPTIONAL), ("scope", "vmodl.URI", "dataservice.version.version2", F_OPTIONAL), ("ownerProperty", "dataservice.QName", "dataservice.version.version2", F_OPTIONAL), ("loginURI", "vmodl.URI", "dataservice.version.version3", F_OPTIONAL), ("soapVersionId", "string", "dataservice.version.version3", F_OPTIONAL), ("soapLoginMessage", "string", "dataservice.version.version3", F_OPTIONAL), ("vapiLoginInterfaceIdentifier", "string", "dataservice.version.version3", F_OPTIONAL), ("vapiLoginMethodIdentifier", "string", "dataservice.version.version3", F_OPTIONAL), ("vapiSessionCookieName", "string", "dataservice.version.version3", F_OPTIONAL), ("replicated", "boolean", "dataservice.version.version3", F_OPTIONAL), ("pullPollingFrequencySecs", "long", "dataservice.version.version3", F_OPTIONAL), ("providerMaxSize_MB", "long", "dataservice.version.version3", F_OPTIONAL)])
CreateDataType("dataservice.provider.ProviderConfiguration.IndexConfiguration", "InventoryServiceProviderConfigurationIndexConfiguration", "vmodl.DynamicData", "dataservice.version.version1", [("id", "string", "dataservice.version.version1", 0)])
CreateDataType("dataservice.provider.ProviderConfiguration.IndexConfiguration.Element", "InventoryServiceProviderConfigurationIndexConfigurationElement", "vmodl.DynamicData", "dataservice.version.version1", [("namespace", "string", "dataservice.version.version1", F_OPTIONAL), ("localName", "string", "dataservice.version.version1", 0)])
CreateDataType("dataservice.provider.ProviderConfiguration.IndexConfiguration.Attribute", "InventoryServiceProviderConfigurationIndexConfigurationAttribute", "vmodl.DynamicData", "dataservice.version.version2", [("namespace", "string", "dataservice.version.version2", F_OPTIONAL), ("localName", "string", "dataservice.version.version2", 0)])
CreateDataType("dataservice.provider.ProviderConfiguration.ValueIndexConfiguration", "InventoryServiceProviderConfigurationValueIndexConfiguration", "dataservice.provider.ProviderConfiguration.IndexConfiguration", "dataservice.version.version1", [("element", "dataservice.provider.ProviderConfiguration.IndexConfiguration.Element", "dataservice.version.version1", F_OPTIONAL), ("attribute", "dataservice.provider.ProviderConfiguration.IndexConfiguration.Attribute", "dataservice.version.version2", F_OPTIONAL)])
CreateDataType("dataservice.provider.ProviderConfiguration.ElementNameIndexConfiguration", "InventoryServiceProviderConfigurationElementNameIndexConfiguration", "dataservice.provider.ProviderConfiguration.IndexConfiguration", "dataservice.version.version1", [("element", "dataservice.provider.ProviderConfiguration.IndexConfiguration.Element[]", "dataservice.version.version1", F_OPTIONAL)])
CreateDataType("dataservice.provider.ProviderConfiguration.FullTextIndexConfiguration", "InventoryServiceProviderConfigurationFullTextIndexConfiguration", "dataservice.provider.ProviderConfiguration.IndexConfiguration", "dataservice.version.version1", [("element", "dataservice.provider.ProviderConfiguration.FullTextIndexConfiguration.FullTextElement", "dataservice.version.version1", F_OPTIONAL)])
CreateDataType("dataservice.provider.ProviderConfiguration.FullTextIndexConfiguration.FullTextElement", "InventoryServiceProviderConfigurationFullTextIndexConfigurationFullTextElement", "dataservice.provider.ProviderConfiguration.IndexConfiguration.Element", "dataservice.version.version1", [("analyzerName", "string", "dataservice.version.version1", F_OPTIONAL)])
CreateDataType("dataservice.provider.ProviderConfiguration.CreateProperty", "InventoryServiceProviderConfigurationCreateProperty", "vmodl.DynamicData", "dataservice.version.version2", [("documentType", "dataservice.QName", "dataservice.version.version2", 0), ("properties", "dataservice.QName[]", "dataservice.version.version2", 0)])
CreateEnumType("dataservice.provider.ProviderConfiguration.ProviderKind", "InventoryServiceProviderConfigurationProviderKind", "dataservice.version.version1", ["atom_sub", "atom_post", "vpx"])
CreateManagedType("dataservice.provider.ProviderManager", "InventoryServiceProviderManager", "vmodl.ManagedObject", "dataservice.version.version1", None, [("registerProvider", "RegisterProvider", "dataservice.version.version1", (("config", "dataservice.provider.ProviderConfiguration", "dataservice.version.version1", 0, None),), (0, "void", "void"), None, ["dataservice.fault.AlreadyExistsFault", "dataservice.fault.InvalidConfigurationFault", ]), ("unregisterProvider", "UnregisterProvider", "dataservice.version.version1", (("uuid", "string", "dataservice.version.version1", 0, None),), (0, "void", "void"), None, ["dataservice.fault.NotFoundFault", ]), ("reconfigureProviderIndex", "ReconfigureProviderIndex", "dataservice.version.version1", (("uuid", "string", "dataservice.version.version1", 0, None),("config", "dataservice.provider.ProviderConfiguration.IndexConfiguration[]", "dataservice.version.version1", F_OPTIONAL, None),), (0, "void", "void"), None, ["dataservice.fault.NotFoundFault", "dataservice.fault.InvalidConfigurationFault", ]), ("retrieveProviderConfig", "RetrieveProviderConfig", "dataservice.version.version1", (("uuid", "string", "dataservice.version.version1", 0, None),), (F_OPTIONAL, "dataservice.provider.ProviderConfiguration", "dataservice.provider.ProviderConfiguration"), None, None), ("retrieveProviderConfigsByProduct", "RetrieveProviderConfigsByProduct", "dataservice.version.version1", (("product", "string", "dataservice.version.version1", 0, None),), (F_OPTIONAL, "dataservice.provider.ProviderConfiguration[]", "dataservice.provider.ProviderConfiguration[]"), None, None), ("retrieveAllProviderConfigs", "RetrieveAllProviderConfigs", "dataservice.version.version1", (), (F_OPTIONAL, "dataservice.provider.ProviderConfiguration[]", "dataservice.provider.ProviderConfiguration[]"), None, None), ("reconfigureProvider", "ReconfigureProvider", "dataservice.version.version2", (("config", "dataservice.provider.ProviderConfiguration", "dataservice.version.version2", 0, None),), (0, "void", "void"), None, ["dataservice.fault.InvalidConfigurationFault", "dataservice.fault.NotFoundFault", ]), ("resetProviderContent", "ResetProviderContent", "dataservice.version.version3", (("uuid", "string", "dataservice.version.version3", 0, None),), (0, "void", "void"), None, ["dataservice.fault.NotFoundFault", ])])
CreateManagedType("dataservice.tagging.Category", "InventoryServiceCategory", "vmodl.ManagedObject", "dataservice.version.version2", [("info", "dataservice.tagging.CategoryInfo", "dataservice.version.version2", 0, None)], [("updateInfo", "UpdateInventoryServiceCategoryDescription", "dataservice.version.version2", (("newInfo", "dataservice.tagging.CategoryInfo", "dataservice.version.version2", 0, None),), (0, "void", "void"), "InventoryService.Tagging.EditCategory", ["dataservice.fault.AlreadyExistsFault", "dataservice.fault.InvalidConfigurationFault", ]), ("delete", "DeleteInventoryServiceCategory", "dataservice.version.version2", (), (0, "void", "void"), "InventoryService.Tagging.DeleteCategory", None), ("createTag", "CreateInventoryServiceTag", "dataservice.version.version2", (("info", "dataservice.tagging.TagInfo", "dataservice.version.version2", 0, None),), (0, "dataservice.tagging.Tag", "dataservice.tagging.Tag"), "InventoryService.Tagging.CreateTag", ["dataservice.fault.AlreadyExistsFault", ]), ("bulkCreateTag", "BulkCreateInventoryServiceTag", "dataservice.version.version2", (("info", "dataservice.tagging.TagInfo[]", "dataservice.version.version2", 0, None),), (0, "dataservice.tagging.Category.CreateTagResult[]", "dataservice.tagging.Category.CreateTagResult[]"), "InventoryService.Tagging.CreateTag", None), ("addToUsedBy", "AddToUsedByArrayForCategory", "dataservice.version.version2", (("usedByField", "string", "dataservice.version.version2", 0, None),), (0, "void", "void"), "InventoryService.Tagging.ModifyUsedByForCategory", None), ("removeFromUsedBy", "RemoveFromUsedByArrayForCategory", "dataservice.version.version2", (("usedByField", "string", "dataservice.version.version2", 0, None),), (0, "void", "void"), "InventoryService.Tagging.ModifyUsedByForCategory", None)])
CreateDataType("dataservice.tagging.Category.CreateTagResult", "CreateInventoryServiceTagResult", "vmodl.DynamicData", "dataservice.version.version2", [("input", "dataservice.tagging.TagInfo", "dataservice.version.version2", 0), ("result", "dataservice.tagging.Tag", "dataservice.version.version2", F_OPTIONAL), ("error", "vmodl.MethodFault", "dataservice.version.version2", F_OPTIONAL)])
CreateDataType("dataservice.tagging.CategoryInfo", "InventoryServiceCategoryInfo", "vmodl.DynamicData", "dataservice.version.version2", [("name", "string", "dataservice.version.version2", 0), ("description", "string", "dataservice.version.version2", F_OPTIONAL), ("cardinality", "dataservice.tagging.CategoryInfo.Cardinality", "dataservice.version.version2", 0), ("associableEntityType", "dataservice.QName[]", "dataservice.version.version2", F_OPTIONAL), ("scope", "dataservice.tagging.Scope", "dataservice.version.version3", F_OPTIONAL), ("usedBy", "string[]", "dataservice.version.version2", F_OPTIONAL)])
CreateEnumType("dataservice.tagging.CategoryInfo.Cardinality", "InventoryServiceCategoryInfoCardinality", "dataservice.version.version2", ["single", "multiple"])
CreateManagedType("dataservice.tagging.Scope", "InventoryServiceScope", "vmodl.ManagedObject", "dataservice.version.version3", None, [("info", "CheckScopeInfo", "dataservice.version.version3", (), (0, "dataservice.tagging.ScopeInfo", "dataservice.tagging.ScopeInfo"), None, None), ("delete", "DeleteInventoryServiceScope", "dataservice.version.version3", (), (0, "void", "void"), "InventoryService.Tagging.DeleteScope", None)])
CreateManagedType("dataservice.tagging.Tag", "InventoryServiceTag", "vmodl.ManagedObject", "dataservice.version.version2", [("info", "dataservice.tagging.TagInfo", "dataservice.version.version2", 0, None), ("category", "dataservice.tagging.Category", "dataservice.version.version2", 0, None)], [("updateInfo", "UpdateInventoryServiceTagInfo", "dataservice.version.version2", (("newInfo", "dataservice.tagging.TagInfo", "dataservice.version.version2", 0, None),), (0, "void", "void"), "InventoryService.Tagging.EditTag", ["dataservice.fault.AlreadyExistsFault", ]), ("delete", "DeleteInventoryServiceTag", "dataservice.version.version2", (), (0, "void", "void"), "InventoryService.Tagging.DeleteTag", None), ("addToUsedBy", "AddToUsedByArrayForTag", "dataservice.version.version2", (("usedByField", "string", "dataservice.version.version2", 0, None),), (0, "void", "void"), "InventoryService.Tagging.ModifyUsedByForTag", None), ("removeFromUsedBy", "RemoveFromUsedByArrayForTag", "dataservice.version.version2", (("usedByField", "string", "dataservice.version.version2", 0, None),), (0, "void", "void"), "InventoryService.Tagging.ModifyUsedByForTag", None)])
CreateDataType("dataservice.tagging.TagAssociationInfo", "InventoryServiceTagAssociationInfo", "vmodl.DynamicData", "dataservice.version.version2", [("tagId", "dataservice.tagging.Tag", "dataservice.version.version2", 0), ("objectId", "vmodl.URI", "dataservice.version.version2", 0), ("tagInfo", "dataservice.tagging.TagInfo", "dataservice.version.version2", F_OPTIONAL), ("categoryInfo", "dataservice.tagging.CategoryInfo", "dataservice.version.version2", F_OPTIONAL), ("generationNumber", "long", "dataservice.version.version2", 0), ("associationExists", "boolean", "dataservice.version.version2", 0)])
CreateDataType("dataservice.tagging.TagInfo", "InventoryServiceTagInfo", "vmodl.DynamicData", "dataservice.version.version2", [("name", "string", "dataservice.version.version2", 0), ("description", "string", "dataservice.version.version2", F_OPTIONAL), ("usedBy", "string[]", "dataservice.version.version2", F_OPTIONAL)])
CreateManagedType("dataservice.tagging.TagManager", "InventoryServiceTagManager", "vmodl.ManagedObject", "dataservice.version.version2", None, [("queryDefaultScope", "QueryDefaultInventoryServiceScope", "dataservice.version.version3", (), (0, "dataservice.tagging.Scope", "dataservice.tagging.Scope"), "System.Anonymous", None), ("queryDefaultSystemScope", "QueryDefaultInventoryServiceSystemScope", "dataservice.version.version3", (), (0, "dataservice.tagging.Scope", "dataservice.tagging.Scope"), "System.Anonymous", None), ("enumerateScopes", "EnumerateInventoryServiceScopes", "dataservice.version.version3", (), (0, "dataservice.tagging.Scope[]", "dataservice.tagging.Scope[]"), "System.Anonymous", None), ("createScope", "CreateInventoryServiceScope", "dataservice.version.version3", (), (0, "dataservice.tagging.Scope", "dataservice.tagging.Scope"), "InventoryService.Tagging.CreateScope", None), ("createSystemScope", "CreateInventoryServiceSystemScope", "dataservice.version.version3", (("flags", "dataservice.tagging.TagManager.SystemScopeFlags", "dataservice.version.version3", 0, None),), (0, "dataservice.tagging.Scope", "dataservice.tagging.Scope"), None, None), ("createCategory", "CreateInventoryServiceCategory", "dataservice.version.version2", (("info", "dataservice.tagging.CategoryInfo", "dataservice.version.version2", 0, None),("scope", "dataservice.tagging.Scope", "dataservice.version.version3", F_OPTIONAL, None),), (0, "dataservice.tagging.Category", "dataservice.tagging.Category"), "InventoryService.Tagging.CreateCategory", ["dataservice.fault.AlreadyExistsFault", "vmodl.fault.InvalidArgument", ]), ("createDefaultSystemCategory", "CreateInventoryServiceDefaultSystemCategory", "dataservice.version.version2", (("info", "dataservice.tagging.CategoryInfo", "dataservice.version.version2", 0, None),), (0, "dataservice.tagging.Category", "dataservice.tagging.Category"), "InventoryService.Tagging.CreateCategory", ["dataservice.fault.AlreadyExistsFault", "vmodl.fault.InvalidArgument", ]), ("revokePropagatingPrivOnCategories", "RevokePropagatingPrivilegesOnCategories", "dataservice.version.version2", (("category", "vmodl.URI", "dataservice.version.version2", 0, None),), (0, "void", "void"), None, None), ("revokePropagatingPrivOnTags", "RevokePropagatingPrivilegesOnTags", "dataservice.version.version2", (("tag", "vmodl.URI", "dataservice.version.version2", 0, None),), (0, "void", "void"), None, None), ("bulkCreateCategory", "BulkCreateInventoryServiceCategory", "dataservice.version.version2", (("info", "dataservice.tagging.CategoryInfo[]", "dataservice.version.version2", 0, None),("scope", "dataservice.tagging.Scope", "dataservice.version.version3", F_OPTIONAL, None),), (0, "dataservice.tagging.TagManager.CreateCategoryResult[]", "dataservice.tagging.TagManager.CreateCategoryResult[]"), None, None), ("bulkCreateDefaultSystemCategory", "BulkCreateInventoryServiceSystemCategory", "dataservice.version.version2", (("info", "dataservice.tagging.CategoryInfo[]", "dataservice.version.version2", 0, None),), (0, "dataservice.tagging.TagManager.CreateCategoryResult[]", "dataservice.tagging.TagManager.CreateCategoryResult[]"), None, None), ("attachTagsToObject", "AttachInventoryServiceTagsToObject", "dataservice.version.version2", (("object", "vmodl.URI", "dataservice.version.version2", 0, None),("tag", "dataservice.tagging.Tag[]", "dataservice.version.version2", 0, "InventoryService.Tagging.AttachTag"),), (0, "void", "void"), None, ["vmodl.fault.ManagedObjectNotFound", "dataservice.fault.InvalidTagAssociationFault", ]), ("attachTagsToManagedObject", "AttachInventoryServiceTagsToManagedObject", "dataservice.version.version2", (("objectMoRef", "vmodl.ManagedObject", "dataservice.version.version2", 0, None),("tag", "dataservice.tagging.Tag[]", "dataservice.version.version2", 0, "InventoryService.Tagging.AttachTag"),), (0, "void", "void"), None, ["vmodl.fault.ManagedObjectNotFound", "dataservice.fault.InvalidTagAssociationFault", ]), ("bulkAttachTags", "BulkAttachInventoryServiceTags", "dataservice.version.version2", (("objects", "vmodl.URI[]", "dataservice.version.version2", 0, None),("tag", "dataservice.tagging.Tag[]", "dataservice.version.version2", 0, "InventoryService.Tagging.AttachTag"),), (0, "dataservice.tagging.TagManager.AttachTagsResult[]", "dataservice.tagging.TagManager.AttachTagsResult[]"), None, None), ("detachTagsFromObject", "DetachInventoryServiceTagsFromObject", "dataservice.version.version2", (("object", "vmodl.URI", "dataservice.version.version2", 0, None),("tag", "dataservice.tagging.Tag[]", "dataservice.version.version2", 0, "InventoryService.Tagging.AttachTag"),), (0, "void", "void"), None, ["vmodl.fault.ManagedObjectNotFound", ]), ("detachTagsFromManagedObject", "DetachInventoryServiceTagsFromManagedObject", "dataservice.version.version2", (("objectMoRef", "vmodl.ManagedObject", "dataservice.version.version2", 0, None),("tag", "dataservice.tagging.Tag[]", "dataservice.version.version2", 0, "InventoryService.Tagging.AttachTag"),), (0, "void", "void"), None, ["vmodl.fault.ManagedObjectNotFound", ]), ("bulkDetachTags", "BulkDetachInventoryServiceTags", "dataservice.version.version2", (("objects", "vmodl.URI[]", "dataservice.version.version2", 0, None),("tag", "dataservice.tagging.Tag[]", "dataservice.version.version2", 0, "InventoryService.Tagging.AttachTag"),), (0, "dataservice.tagging.TagManager.DetachTagsResult[]", "dataservice.tagging.TagManager.DetachTagsResult[]"), None, None), ("enumerateTags", "EnumerateInventoryServiceTags", "dataservice.version.version2", (("scope", "dataservice.tagging.Scope[]", "dataservice.version.version3", F_OPTIONAL, None),), (F_OPTIONAL, "dataservice.tagging.Tag[]", "dataservice.tagging.Tag[]"), None, None), ("enumerateTagsForUsedBy", "EnumerateInventoryServiceTagsForUsedBy", "dataservice.version.version2", (("usedByField", "string", "dataservice.version.version2", 0, None),("scope", "dataservice.tagging.Scope[]", "dataservice.version.version3", F_OPTIONAL, None),), (F_OPTIONAL, "dataservice.tagging.Tag[]", "dataservice.tagging.Tag[]"), None, None), ("enumerateDefaultSystemTags", "EnumerateInventoryServiceDefaultSystemTags", "dataservice.version.version2", (), (F_OPTIONAL, "dataservice.tagging.Tag[]", "dataservice.tagging.Tag[]"), None, None), ("enumerateDefaultSystemTagsForUsedBy", "EnumerateInventoryServiceDefaultSystemTagsForUsedBy", "dataservice.version.version2", (("usedByField", "string", "dataservice.version.version2", 0, None),), (F_OPTIONAL, "dataservice.tagging.Tag[]", "dataservice.tagging.Tag[]"), None, None), ("enumerateCategories", "EnumerateInventoryServiceCategories", "dataservice.version.version2", (("scope", "dataservice.tagging.Scope[]", "dataservice.version.version3", F_OPTIONAL, None),), (F_OPTIONAL, "dataservice.tagging.Category[]", "dataservice.tagging.Category[]"), None, None), ("enumerateCategoriesForUsedBy", "EnumerateInventoryServiceCategoriesForUsedBy", "dataservice.version.version2", (("usedByField", "string", "dataservice.version.version2", 0, None),("scope", "dataservice.tagging.Scope[]", "dataservice.version.version3", F_OPTIONAL, None),), (F_OPTIONAL, "dataservice.tagging.Category[]", "dataservice.tagging.Category[]"), None, None), ("enumerateDefaultSystemCategories", "EnumerateInventoryServiceDefaultSystemCategories", "dataservice.version.version2", (), (F_OPTIONAL, "dataservice.tagging.Category[]", "dataservice.tagging.Category[]"), None, None), ("enumerateDefaultSystemCategoriesForUsedBy", "EnumerateInventoryServiceDefaultSystemCategoriesForUsedBy", "dataservice.version.version2", (("usedByField", "string", "dataservice.version.version2", 0, None),), (F_OPTIONAL, "dataservice.tagging.Category[]", "dataservice.tagging.Category[]"), None, None), ("queryAttachableTags", "QueryAttachableInventoryServiceTags", "dataservice.version.version2", (("object", "vmodl.URI[]", "dataservice.version.version2", 0, None),("scope", "dataservice.tagging.Scope[]", "dataservice.version.version3", F_OPTIONAL, None),), (F_OPTIONAL, "dataservice.tagging.Tag[]", "dataservice.tagging.Tag[]"), None, None), ("queryAttachableDefaultSystemTags", "QueryAttachableInventoryServiceDefaultSystemTags", "dataservice.version.version2", (("object", "vmodl.URI[]", "dataservice.version.version2", 0, None),), (F_OPTIONAL, "dataservice.tagging.Tag[]", "dataservice.tagging.Tag[]"), None, None), ("queryAttachableTagsToManagedObject", "QueryAttachableInventoryServiceTagsToGivenManagedObjects", "dataservice.version.version2", (("objectMoRef", "vmodl.ManagedObject[]", "dataservice.version.version2", 0, None),("scope", "dataservice.tagging.Scope[]", "dataservice.version.version3", F_OPTIONAL, None),), (F_OPTIONAL, "dataservice.tagging.Tag[]", "dataservice.tagging.Tag[]"), None, ["vmodl.fault.ManagedObjectNotFound", ]), ("queryAttachableDefaultSystemTagsToManagedObject", "QueryAttachableInventoryServiceDefaultSystemTagsToGivenManagedObjects", "dataservice.version.version2", (("objectMoRef", "vmodl.ManagedObject[]", "dataservice.version.version2", 0, None),), (F_OPTIONAL, "dataservice.tagging.Tag[]", "dataservice.tagging.Tag[]"), None, ["vmodl.fault.ManagedObjectNotFound", ]), ("queryAttachedObjects", "QueryAttachedInventoryServiceObjects", "dataservice.version.version2", (("tag", "dataservice.tagging.Tag", "dataservice.version.version2", 0, None),), (F_OPTIONAL, "vmodl.URI[]", "vmodl.URI[]"), None, ["vmodl.fault.ManagedObjectNotFound", ]), ("queryAttachedManagedObjects", "QueryAttachedInventoryServiceManagedObjects", "dataservice.version.version2", (("tag", "dataservice.tagging.Tag", "dataservice.version.version2", 0, None),), (F_OPTIONAL, "vmodl.ManagedObject[]", "vmodl.ManagedObject[]"), None, ["vmodl.fault.ManagedObjectNotFound", ]), ("queryAttachedTags", "QueryAttachedInventoryServiceTags", "dataservice.version.version2", (("object", "vmodl.URI", "dataservice.version.version2", 0, None),("scope", "dataservice.tagging.Scope[]", "dataservice.version.version3", F_OPTIONAL, None),), (F_OPTIONAL, "dataservice.tagging.Tag[]", "dataservice.tagging.Tag[]"), None, None), ("queryAttachedTagsForUsedBy", "QueryAttachedInventoryServiceTagsForUsedBy", "dataservice.version.version2", (("usedBy", "string", "dataservice.version.version2", 0, None),("object", "vmodl.URI", "dataservice.version.version2", 0, None),("scope", "dataservice.tagging.Scope[]", "dataservice.version.version3", F_OPTIONAL, None),), (F_OPTIONAL, "dataservice.tagging.Tag[]", "dataservice.tagging.Tag[]"), None, None), ("queryMapOfAttachedTagsForUsedBy", "QueryMapofAttachedInventoryServiceTagsForUsedBy", "dataservice.version.version3", (("usedBy", "string", "dataservice.version.version3", 0, None),("objects", "vmodl.URI[]", "dataservice.version.version3", 0, None),("scope", "dataservice.tagging.Scope[]", "dataservice.version.version3", F_OPTIONAL, None),), (F_OPTIONAL, "dataservice.tagging.TaggingEntry[]", "dataservice.tagging.TaggingEntry[]"), None, None), ("queryMapOfAttachedTags", "QueryMapofAttachedInventoryServiceTags", "dataservice.version.version3", (("objects", "vmodl.URI[]", "dataservice.version.version3", 0, None),("scope", "dataservice.tagging.Scope[]", "dataservice.version.version3", F_OPTIONAL, None),), (F_OPTIONAL, "dataservice.tagging.TaggingEntry[]", "dataservice.tagging.TaggingEntry[]"), None, None), ("queryAttachedDefaultSystemTags", "QueryAttachedInventoryServiceDefaultSystemTags", "dataservice.version.version2", (("object", "vmodl.URI", "dataservice.version.version2", 0, None),), (F_OPTIONAL, "dataservice.tagging.Tag[]", "dataservice.tagging.Tag[]"), None, None), ("queryAttachedTagsToManagedObject", "QueryAttachedInventoryServiceTagsToGivenManagedObject", "dataservice.version.version2", (("objectMoRef", "vmodl.ManagedObject", "dataservice.version.version2", 0, None),("scope", "dataservice.tagging.Scope[]", "dataservice.version.version3", F_OPTIONAL, None),), (F_OPTIONAL, "dataservice.tagging.Tag[]", "dataservice.tagging.Tag[]"), None, ["vmodl.fault.ManagedObjectNotFound", ]), ("queryAttachedDefaultSystemTagsToManagedObject", "QueryAttachedInventoryServiceDefaultSystemTagsToGivenManagedObject", "dataservice.version.version2", (("objectMoRef", "vmodl.ManagedObject", "dataservice.version.version2", 0, None),), (F_OPTIONAL, "dataservice.tagging.Tag[]", "dataservice.tagging.Tag[]"), None, ["vmodl.fault.ManagedObjectNotFound", ]), ("queryTagsByCategory", "QueryInventoryServiceTagsByCategory", "dataservice.version.version2", (("category", "dataservice.tagging.Category", "dataservice.version.version2", 0, None),), (F_OPTIONAL, "dataservice.tagging.Tag[]", "dataservice.tagging.Tag[]"), None, None), ("queryTagsByCategoryForUsedBy", "QueryInventoryServiceTagsByCategoryForUsedBy", "dataservice.version.version2", (("category", "dataservice.tagging.Category", "dataservice.version.version2", 0, None),("usedByField", "string", "dataservice.version.version2", 0, None),), (F_OPTIONAL, "dataservice.tagging.Tag[]", "dataservice.tagging.Tag[]"), None, None), ("moRefToAuthUri", "FetchAuthUriForManagedObject", "dataservice.version.version2", (("objectMoRef", "vmodl.ManagedObject", "dataservice.version.version2", 0, None),), (F_OPTIONAL, "string", "string"), None, None), ("getModifiedTagAssociations", "GetModifiedTagAssociations", "dataservice.version.version2", (("objectType", "dataservice.QName", "dataservice.version.version2", 0, None),("lastSeenGeneration", "long", "dataservice.version.version2", 0, None),), (F_OPTIONAL, "dataservice.tagging.TagAssociationInfo[]", "dataservice.tagging.TagAssociationInfo[]"), None, None)])
CreateEnumType("dataservice.tagging.TagManager.SystemScopeFlags", "SystemScopeFlags", "dataservice.version.version3", ["USER_VISIBLE_ONLY", "USER_VISIBLE_AND_ASSIGNABLE", "NOT_USER_VISIBLE"])
CreateDataType("dataservice.tagging.TagManager.CreateCategoryResult", "CreateInventoryServiceCategoryResult", "vmodl.DynamicData", "dataservice.version.version2", [("input", "dataservice.tagging.CategoryInfo", "dataservice.version.version2", 0), ("result", "dataservice.tagging.Category", "dataservice.version.version2", F_OPTIONAL), ("error", "vmodl.MethodFault", "dataservice.version.version2", F_OPTIONAL)])
CreateDataType("dataservice.tagging.TagManager.AttachTagsResult", "AttachInventoryServiceTagsResult", "vmodl.DynamicData", "dataservice.version.version2", [("object", "vmodl.URI", "dataservice.version.version2", 0), ("tags", "dataservice.tagging.Tag[]", "dataservice.version.version2", 0), ("error", "vmodl.MethodFault", "dataservice.version.version2", F_OPTIONAL)])
CreateDataType("dataservice.tagging.TagManager.DetachTagsResult", "DetachInventoryServiceTagsResult", "vmodl.DynamicData", "dataservice.version.version2", [("object", "vmodl.URI", "dataservice.version.version2", 0), ("tags", "dataservice.tagging.Tag[]", "dataservice.version.version2", 0), ("error", "vmodl.MethodFault", "dataservice.version.version2", F_OPTIONAL)])
CreateDataType("dataservice.tagging.TaggingEntry", "TaggingEntry", "vmodl.DynamicData", "dataservice.version.version3", [("key", "string", "dataservice.version.version3", 0), ("value", "string", "dataservice.version.version3", 0), ("tagName", "string", "dataservice.version.version3", 0), ("parentCategory", "string", "dataservice.version.version3", 0), ("parentCategoryName", "string", "dataservice.version.version3", 0)])
CreateDataType("dataservice.tagging.ScopeInfo", "InventoryServiceScopeInfo", "vmodl.DynamicData", "dataservice.version.version3", [("systemScope", "boolean", "dataservice.version.version3", 0), ("systemScopeFlags", "dataservice.tagging.TagManager.SystemScopeFlags", "dataservice.version.version3", F_OPTIONAL), ("authorizationURI", "vmodl.URI", "dataservice.version.version3", 0)])
