Search

Class VcDVSConfigSpec

Extends VcDynamicData
The VcDVSConfigSpec data object contains configuration data for a VcDistributedVirtualSwitch. Use the VcDistributedVirtualSwitch method to apply the configuration to the switch.

Attributes

Name Type Description
configVersion String The version string of the configuration that this spec is trying to change. This property is required in reconfiguring a switch and should be set to the same value as <a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcDVSConfigInfo.html#configVersion">VcDVSConfigInfo</a>. This property is ignored during switch creation.
contact VcDVSContactInfo Set the human operator contact information.
defaultPortConfig VcDVPortSetting The default configuration for ports.
defaultProxySwitchMaxNumPorts Number The default host proxy switch maximum port number
description String Set the description string of the switch.
extensionKey String The key of the extension registered by a remote server that controls the switch.
host VcDistributedVirtualSwitchHostMemberConfigSpec[] The host member specification. A particular host should have only one entry in this array. Duplicate entries for the same host will raise a fault. The host version should be compatible with the version of <a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcDistributedVirtualSwitch.html">VcDistributedVirtualSwitch</a>. Use <a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcDistributedVirtualSwitch.html">VcDistributedVirtualSwitchManager</a> to check for compatibility.
infrastructureTrafficResourceConfig VcDvsHostInfrastructureTrafficResource[] The host infrastructure traffic resource allocation specification. Only the traffic class resource allocations identified in the list will be updated. The other traffic class resource allocations that are not specified will not change.
maxPorts Number The maximum number of DistributedVirtualPorts allowed in the switch. If specified in a reconfigure operation, this number cannot be smaller than the number of existing DistributedVirtualPorts. <br/><i>As of vSphere API 5.0 The default value of this propoerty is maxint and there is no reason for users to change it to a lower value</i>
name String The name of the switch. Must be unique in the parent folder.
networkResourceControlVersion String Indicates the Network Resource Control APIs that are supported on the switch. Possible value can be of <a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcDistributedVirtualSwitchNetworkResourceControlVersion.html">VcDistributedVirtualSwitchNetworkResourceControlVersion</a>.
numStandalonePorts Number The number of standalone ports in the switch. Standalone ports are ports that do not belong to any portgroup. If set to a number larger than number of existing standalone ports in the switch, new ports get created to meet the number. If set to a number smaller than the number of existing standalone ports, free ports (uplink ports excluded) are deleted to meet the number. If the set number cannot be met by deleting free standalone ports, a fault is raised.
policy VcDVSPolicy The usage policy of the switch.
switchIpAddress String IP address for the switch, specified using IPv4 dot notation. IPv6 address is not supported for this property. The utility of this address is defined by other switch features. switchIpAddress would be ignored when IPFIX collector uses IPv6.
uplinkPortgroup VcDistributedVirtualPortgroup[] The uplink portgroups.
uplinkPortPolicy VcDVSUplinkPortPolicy The uplink port policy.
vendorSpecificConfig VcDistributedVirtualSwitchKeyedOpaqueBlob[] Set the opaque blob that stores vendor specific configuration.

Methods

Name Returns
VcDVSConfigSpec() constructor

Returned by

None

Referenced in

Method Returns
VcDistributedVirtualSwitch.reconfigureDvs_Task(VcDVSConfigSpec spec) VcTask
VcVmwareDistributedVirtualSwitch.reconfigureDvs_Task(VcDVSConfigSpec spec) VcTask