-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[vro-types] Add VcStorageManager
class definition
#449
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15833,6 +15833,37 @@ declare class VcVirtualMachineBackupEventInfo { | |
constructor(eventType: string, code: number, message: string); | ||
} | ||
|
||
/** | ||
* Provice information about storage | ||
*/ | ||
declare class VcStorageQueryManager { | ||
readonly vimType: string; | ||
readonly sdkConnection: VcSdkConnection; | ||
readonly moref: VcManagedObjectReference; | ||
readonly vimId: string; | ||
readonly sdkId: string; | ||
readonly vimHost: VcSdkConnection; | ||
|
||
/** | ||
* create a trigger | ||
* @param {number} timeout | ||
* @param {string} filter | ||
* @param {string} condition | ||
* @param {string} filterToSync | ||
* @returns {Trigger} | ||
*/ | ||
public createTrigger (timeout: number, filter: string, condition: string, filterToSync: string): Trigger; | ||
|
||
/** | ||
* get the hosts with a lun attached | ||
* @param {string} arg0 | ||
* @returns {VcHostSystem[]} - list of ESX hosts | ||
*/ | ||
public queryHostsWithAttachedLun (arg0: string): VcHostSystem[]; | ||
|
||
constructor(vimType: string, sdkConnection: VcSdkConnection, moref: VcManagedObjectReference, vimId: string, sdkId: string, vimHost: VcSdkConnection); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are you sure this object has a constructor? I don't see it in the API explorer (but have it mind that i am not with latest version so mine might be outdated) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
} | ||
|
||
/** | ||
* The {@link ServiceInstanceContent} data object defines properties for the ServiceInstance | ||
* managed object. The ServiceInstance itself does not have directly-accessible | ||
|
@@ -15892,6 +15923,7 @@ declare class VcServiceContent { | |
serviceManager: VcServiceManager; | ||
viewManager: VcViewManager; | ||
scheduledTaskManager: VcScheduledTaskManager; | ||
storageQueryManager: VcStorageQueryManager; | ||
constructor(); | ||
constructor(); | ||
/** | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see another function in the API - _getRef, maybe it is worth adding it as well