A view is a client-side Perl object populated with the state of one or more server-side managed objects by the vSphere SDK for Perl. A view object has the following characteristics:
■ Is a static copy of a server-side managed object and includes properties and methods that correspond to the properties and operations of the server-side managed object.
■ For each simple property (string, Boolean, numeric data type), including inherited simple properties, the SDK creates an accessor method. The accessor method name is the same as the property name.
■ An accessor method for each managed object property. The vSphere SDK for Perl provides accessors for any property, regardless of its depth inside a composite object structure.
■
■
■ Provides a _this parameter to reference the object on which a method is run, if needed.
■ Allows you to pass a view object as a parameter to methods that take managed object references as required parameter. The SDK converts the view object to the corresponding managed object.