|
| Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |
Properties
| Name | Type | Description |
|---|---|---|
| capability | DVSCapability |
The capability of the switch. Queried against hosts, the property should
always return configModificationSupported as false.
|
| config | DVSConfigInfo |
The configuration of the switch.
|
| networkResourcePool* | DVSNetworkResourcePool[] |
The network resource pool information for the switch.
Since vSphere API 4.1 |
| portgroup* | ManagedObjectReference[]
to a DistributedVirtualPortgroup[] |
The portgroups that are defined on the switch.
|
| summary | DVSSummary |
The summary of the switch.
|
| uuid | xsd:string |
The generated UUID of the switch. Unique across vCenter Server
inventory and instances.
|
| Properties inherited from ManagedEntity | ||
| alarmActionsEnabled, configIssue, configStatus, customValue, declaredAlarmState, disabledMethod, effectiveRole, name, overallStatus, parent, permission, recentTask, tag, triggeredAlarmState | ||
| Properties inherited from ExtensibleManagedObject | ||
| availableField, value | ||
Methods
| Methods defined in this Managed Object |
|---|
| AddDVPortgroup_Task, EnableNetworkResourceManagement, FetchDVPortKeys, FetchDVPorts, MergeDvs_Task, MoveDVPort_Task, PerformDvsProductSpecOperation_Task, QueryUsedVlanIdInDvs, ReconfigureDVPort_Task, ReconfigureDvs_Task, RectifyDvsHost_Task, RefreshDVPortState, UpdateDvsCapability, UpdateNetworkResourcePool |
| Methods inherited from ManagedEntity |
| Destroy_Task, Reload, Rename_Task |
| Methods inherited from ExtensibleManagedObject |
| setCustomValue |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| spec | DVPortgroupConfigSpec[] |
The specification for the portgroup.
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task |
Faults
| Type | Description |
|---|---|
| DuplicateName | |
| DvsFault | |
| InvalidName | |
| NotSupported | Thrown if called directly on a host. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| enable | xsd:boolean |
If true, enables I/O control. If false,
disables network I/O control.
|
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| DvsFault | |
| DvsNotAuthorized | Thrown if login-session's extension key does not match the switch's configured switch's configured extension key |
| NotSupported | Thrown if network I/O control is not supported on the vNetwork distributed switch. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| criteria* | DistributedVirtualSwitchPortCriteria |
The port selection criteria. If unset, the operation
returns the keys of all the ports in the switch.
|
Return Value
| Type | Description |
|---|---|
| xsd:string[] |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| criteria* | DistributedVirtualSwitchPortCriteria |
The port selection criteria. If unset, the operation
returns the keys of all the ports in the portgroup.
|
Return Value
| Type | Description |
|---|---|
| DistributedVirtualPort[] |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
In summary, this operation does the following:
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| dvs P | ManagedObjectReference
to a DistributedVirtualSwitch |
The switch (source) to be merged
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task |
Faults
| Type | Description |
|---|---|
| DvsFault | |
| InvalidHostState | |
| NotFound | |
| NotSupported | Thrown if called directly on a host. |
| ResourceInUse | Thrown if failed to delete the source switch |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| portKey | xsd:string[] |
The keys of the ports to be moved into the portgroup.
|
| destinationPortgroupKey* | xsd:string |
The key of the portgroup to be moved into.
If unset, the port will be moved under the switch.
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task |
Faults
| Type | Description |
|---|---|
| ConcurrentAccess | |
| DvsFault | |
| NotFound | |
| NotSupported | Thrown if called directly on a host. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| operation | xsd:string |
The operation. See DistributedVirtualSwitchProductSpecOperationType for
valid values. For
VmwareDistributedVirtualSwitch,
only upgrade
is valid.
|
| productSpec* | DistributedVirtualSwitchProductSpec |
The product info of the implementation.
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task |
Faults
| Type | Description |
|---|---|
| DvsFault | |
| InvalidState | |
| NotSupported | Thrown if called directly on a host. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| TaskInProgress |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
Return Value
| Type | Description |
|---|---|
| xsd:int[] |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| port | DVPortConfigSpec[] |
The specification of the ports.
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task |
Faults
| Type | Description |
|---|---|
| ConcurrentAccess | |
| DvsFault | |
| InvalidArgument | Thrown if the array have different elements for the same port. |
| NotFound | |
| NotSupported | Thrown if called directly on a host or if the switch implementation doesn't support this API or if the spec includes settings for any vNetwork Distributed Switch feature that is not supported on this switch. |
| ResourceInUse | |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Reconfiguring the switch may require any of the following privileges, depending on what is being changed:
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| spec | DVSConfigSpec |
The configuration of the switch
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task |
Faults
| Type | Description |
|---|---|
| AlreadyExists | |
| ConcurrentAccess | |
| DuplicateName | |
| DvsFault | |
| DvsNotAuthorized | Thrown if login-session's extension key does not match the switch's configured extensionKey. |
| InvalidArgument | Thrown if any of the hosts being added lack support for any of the overlay classes of the switch's overlay instances. |
| InvalidName | |
| InvalidState | |
| LimitExceeded | |
| NotFound | |
| NotSupported | Thrown if called directly on a host or if the spec includes settings for any vNetwork Distributed Switch feature that is not supported on this switch. |
| ResourceInUse | |
| ResourceNotAvailable | Thrown if there is no port available in the portgroup |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| hosts* | ManagedObjectReference[]
to a HostSystem[] |
The hosts to be refreshed. If not set, all hosts are rectified.
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task |
Faults
| Type | Description |
|---|---|
| DvsFault | |
| NotFound | |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| portKeys* | xsd:string[] |
The keys of the ports to be refreshed. If not set, all port
states are refreshed.
|
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| DvsFault | |
| NotFound | |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| capability | DVSCapability |
The capability of the switch.
|
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| NotSupported | Thrown if called directly on a host or if the switch implementation doesn't support this API. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| configSpec | DVSNetworkResourcePoolConfigSpec[] |
the network resource pool configuration specification.
|
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| DvsFault | Thrown if the configuration application failed. |
| DvsNotAuthorized | Thrown if login-session's extension key does not match the switch's configured extension key. |
| InvalidName | Thrown if the name of the resource pool is invalid. |
| NotFound | Thrown if the resource pool does not exist on the dvs. |
| NotSupported | Thrown if network I/O control is not supported on the vNetwork distributed switch. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| Top of page | Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |