|
VMware vSphere Automation SDK Perl
The VMware vSphere Automation SDK for Perl supports the client-side vSphere Automation API for access to vSphere services and capabilities
|
Avaliable Methods | |
| public method | set_category () |
| public method | set_type () |
| public method | get_instance_id () |
| public method | get_id () |
| public method | set_class_id () |
| public method | get_label () |
| public method | get_value () |
| public method | get_category () |
| public method | new () |
| public method | set_ui_optional () |
| public method | set_description () |
| public method | set_id () |
| public method | set_label () |
| public method | get_description () |
| public method | get_ui_optional () |
| public method | set_value () |
| public method | get_class_id () |
| public method | set_instance_id () |
| public method | get_type () |
The Com::Vmware::Vcenter::Ovf::Property class contains the information about a property in an OVF package.
A property is uniquely identified by its [classid.]id[.instanceid] fully-qualified name (see :attr:Com::Vmware::Vcenter::Ovf::Property.class_id , :attr:Com::Vmware::Vcenter::Ovf::Property.id , and :attr:Com::Vmware::Vcenter::Ovf::Property.instance_id ). If multiple properties in an OVF package have the same fully-qualified name, then the property is excluded and cannot be set. We do warn about this during import.
See :func:Com::Vmware::Vcenter::Ovf::LibraryItem.deploy and :func:Com::Vmware::Vcenter::Ovf::LibraryItem.filter .
| public method Com::Vmware::Vcenter::Ovf::Property::get_category | ( | ) |
Gets the value of 'category' property.
| category | - The current value of the field. If this is set to a non-empty string, this property starts a new category. optional# |
Code:
| public method Com::Vmware::Vcenter::Ovf::Property::get_class_id | ( | ) |
Gets the value of 'class_id' property.
| class_id | - The current value of the field. The classId of this OVF property. optional# |
Code:
| public method Com::Vmware::Vcenter::Ovf::Property::get_description | ( | ) |
Gets the value of 'description' property.
| description | - The current value of the field. A description of this OVF property. optional# |
Code:
| public method Com::Vmware::Vcenter::Ovf::Property::get_id | ( | ) |
Gets the value of 'id' property.
| id | - The current value of the field. The identifier of this OVF property. optional# |
Code:
| public method Com::Vmware::Vcenter::Ovf::Property::get_instance_id | ( | ) |
Gets the value of 'instance_id' property.
| instance_id | - The current value of the field. The instanceId of this OVF property. optional# |
Code:
| public method Com::Vmware::Vcenter::Ovf::Property::get_label | ( | ) |
Gets the value of 'label' property.
| label | - The current value of the field. The display name of this OVF property. optional# |
Code:
| public method Com::Vmware::Vcenter::Ovf::Property::get_type | ( | ) |
Gets the value of 'type' property.
| type | - The current value of the field. The type of this OVF property. Refer to the configuration of a virtual appliance/virtual machine for the valid values. optional# |
Code:
| public method Com::Vmware::Vcenter::Ovf::Property::get_ui_optional | ( | ) |
Gets the value of 'ui_optional' property.
| ui_optional | - The current value of the field. Whether a category is UI optional. This is only used if this property starts a new category (see :attr:Com::Vmware::Vcenter::Ovf::Property.category ). |
The value is stored in an optional attribute vmw:uioptional to the ovf:Category element. The default value is false. If this value is true, the properties within this category are optional. The UI renders this as a group with a check box, and the group is grayed out until the check box is selected. When the check box is selected, the input values are read and used in deployment. If properties within the same category specify conflicting values the default is used. Only implemented in vSphere Web Client 5.1 and later as of Nov 2012.
optional#
Code:
| public method Com::Vmware::Vcenter::Ovf::Property::get_value | ( | ) |
Gets the value of 'value' property.
| value | - The current value of the field. The OVF property value. This contains the default value from ovf:defaultValue if ovf:value is not present when read. optional# |
Code:
| public method Com::Vmware::Vcenter::Ovf::Property::new | ( | ) |
Constructor to initialize the Com::Vmware::Vcenter::Ovf::Property structure
| Blessed | object |
Code:
| public method Com::Vmware::Vcenter::Ovf::Property::set_category | ( | ) |
Sets the given value for 'category' property.
| category | - New value for the field. If this is set to a non-empty string, this property starts a new category. |
Code:
| public method Com::Vmware::Vcenter::Ovf::Property::set_class_id | ( | ) |
Sets the given value for 'class_id' property.
| class_id | - New value for the field. The classId of this OVF property. |
Code:
| public method Com::Vmware::Vcenter::Ovf::Property::set_description | ( | ) |
Sets the given value for 'description' property.
| description | - New value for the field. A description of this OVF property. |
Code:
| public method Com::Vmware::Vcenter::Ovf::Property::set_id | ( | ) |
Sets the given value for 'id' property.
| id | - New value for the field. The identifier of this OVF property. |
Code:
| public method Com::Vmware::Vcenter::Ovf::Property::set_instance_id | ( | ) |
Sets the given value for 'instance_id' property.
| instance_id | - New value for the field. The instanceId of this OVF property. |
Code:
| public method Com::Vmware::Vcenter::Ovf::Property::set_label | ( | ) |
Sets the given value for 'label' property.
| label | - New value for the field. The display name of this OVF property. |
Code:
| public method Com::Vmware::Vcenter::Ovf::Property::set_type | ( | ) |
Sets the given value for 'type' property.
| type | - New value for the field. The type of this OVF property. Refer to the configuration of a virtual appliance/virtual machine for the valid values. |
Code:
| public method Com::Vmware::Vcenter::Ovf::Property::set_ui_optional | ( | ) |
Sets the given value for 'ui_optional' property.
| ui_optional | - New value for the field. Whether a category is UI optional. This is only used if this property starts a new category (see :attr:Com::Vmware::Vcenter::Ovf::Property.category ). |
The value is stored in an optional attribute vmw:uioptional to the ovf:Category element. The default value is false. If this value is true, the properties within this category are optional. The UI renders this as a group with a check box, and the group is grayed out until the check box is selected. When the check box is selected, the input values are read and used in deployment. If properties within the same category specify conflicting values the default is used. Only implemented in vSphere Web Client 5.1 and later as of Nov 2012.
Code:
| public method Com::Vmware::Vcenter::Ovf::Property::set_value | ( | ) |
Sets the given value for 'value' property.
| value | - New value for the field. The OVF property value. This contains the default value from ovf:defaultValue if ovf:value is not present when read. |
Code: