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
|
# 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 Optional
from pyVmomi.VmomiSupport import ManagedObject
from pyVmomi.sms import FaultDomainFilter
from pyVmomi.sms import ReplicationGroupFilter
from pyVmomi.vim import Datastore
from pyVmomi.vim import HostSystem
from pyVmomi.vim import Task
from pyVmomi.sms.provider import Provider
from pyVmomi.sms.provider import ProviderSpec
from pyVmomi.sms.provider import VASAProviderUpgradeSpec
from pyVmomi.sms.storage import BackingStoragePool
from pyVmomi.sms.storage import DatastoreBackingPoolMapping
from pyVmomi.sms.storage import DrsMigrationCapabilityResult
from pyVmomi.sms.storage import StorageArray
from pyVmomi.sms.storage import StorageCapability
from pyVmomi.sms.storage import StorageContainerResult
from pyVmomi.sms.storage import StorageContainerSpec
from pyVmomi.sms.storage import StorageFileSystem
from pyVmomi.sms.storage import StorageLun
from pyVmomi.sms.storage import StoragePort
from pyVmomi.sms.storage import StorageProcessor
from pyVmomi.sms.storage.replication import GroupOperationResult
from pyVmomi.vim.vm.replication import FaultDomainId
class StorageManager(ManagedObject):
def RegisterProvider(self, providerSpec: ProviderSpec) -> Task: ...
def UnregisterProvider(self, providerId: str) -> Task: ...
def QueryProvider(self) -> list[Provider]: ...
def QueryArray(self, providerId: list[str]) -> list[StorageArray]: ...
def QueryProcessorAssociatedWithArray(self, arrayId: str) -> list[StorageProcessor]: ...
def QueryPortAssociatedWithArray(self, arrayId: str) -> list[StoragePort]: ...
def QueryPortAssociatedWithLun(self, scsi3Id: str, arrayId: str) -> Optional[StoragePort]: ...
def QueryLunAssociatedWithPort(self, portId: str, arrayId: str) -> list[StorageLun]: ...
def QueryArrayAssociatedWithLun(self, canonicalName: str) -> Optional[StorageArray]: ...
def QueryPortAssociatedWithProcessor(self, processorId: str, arrayId: str) -> list[StoragePort]: ...
def QueryLunAssociatedWithArray(self, arrayId: str) -> list[StorageLun]: ...
def QueryFileSystemAssociatedWithArray(self, arrayId: str) -> list[StorageFileSystem]: ...
def QueryDatastoreCapability(self, datastore: Datastore) -> Optional[StorageCapability]: ...
def QueryHostAssociatedWithLun(self, scsi3Id: str, arrayId: str) -> list[HostSystem]: ...
def QueryVmfsDatastoreAssociatedWithLun(self, scsi3Id: str, arrayId: str) -> Optional[Datastore]: ...
def QueryNfsDatastoreAssociatedWithFileSystem(self, fileSystemId: str, arrayId: str) -> Optional[Datastore]: ...
def QueryDrsMigrationCapabilityForPerformance(self, srcDatastore: Datastore, dstDatastore: Datastore) -> bool: ...
def QueryDrsMigrationCapabilityForPerformanceEx(self, datastore: list[Datastore]) -> DrsMigrationCapabilityResult: ...
def QueryStorageContainer(self, containerSpec: Optional[StorageContainerSpec]) -> Optional[StorageContainerResult]: ...
def QueryAssociatedBackingStoragePool(self, entityId: Optional[str], entityType: Optional[str]) -> list[BackingStoragePool]: ...
def QueryDatastoreBackingPoolMapping(self, datastore: list[Datastore]) -> list[DatastoreBackingPoolMapping]: ...
def RefreshCACertificatesAndCRLs(self, providerId: list[str]) -> Task: ...
def QueryFaultDomain(self, filter: Optional[FaultDomainFilter]) -> list[FaultDomainId]: ...
def QueryReplicationGroupInfo(self, rgFilter: ReplicationGroupFilter) -> list[GroupOperationResult]: ...
def UpgradeVASAProvider(self, upgradeSpec: VASAProviderUpgradeSpec) -> Task: ...
|