Skip to content
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

Closed
wants to merge 3 commits into from

Conversation

pe1pip
Copy link
Contributor

@pe1pip pe1pip commented Oct 10, 2024

Description

Add the definition of the VcStorageManager class as well as the property in VcServiceContent

Checklist

  • I have tested against live environment, if applicable
  • I have my changes rebased and squashed to the minimal number of relevant commits. Notice: don't squash all commits
  • I have added a descriptive commit message with a short title, including a Fixed #XXX - or Closed #XXX - prefix to auto-close the issue

Testing

n/a

@pe1pip pe1pip requested a review from a team as a code owner October 10, 2024 14:23
@VenelinBakalov
Copy link
Collaborator

Thanks for adding another type def :) just a reminder to update the release.md

*/
public queryHostsWithAttachedLun (arg0: string): VcHostSystem[];

constructor(vimType: string, sdkConnection: VcSdkConnection, moref: VcManagedObjectReference, vimId: string, sdkId: string, vimHost: VcSdkConnection);
Copy link
Collaborator

Choose a reason for hiding this comment

The 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)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was not able to find any constructor definition for this object in the documentation (API explorer, MOB and so on).
Usually when there is available constructor this should be explicitly defined, e.g.:

image

image

readonly vimId: string;
readonly sdkId: string;
readonly vimHost: VcSdkConnection;

Copy link
Collaborator

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
image

@VenelinBakalov VenelinBakalov changed the title [types] add VcStorageManager class definition [vro-types] Add VcStorageManager class definition Oct 11, 2024
@VenelinBakalov VenelinBakalov added kind/enhancement Enhancement or improvement of existing features area/vro-types Relates to changes to the type definitions version/patch The change is a non-breaking bugfix labels Oct 11, 2024
@VenelinBakalov
Copy link
Collaborator

@pe1pip we are planning a release soon so I will move forward with this task in #457
Thus, closing the current PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/vro-types Relates to changes to the type definitions kind/enhancement Enhancement or improvement of existing features version/patch The change is a non-breaking bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants