Distributed Virtual Switch Get Capability

Distributed Virtual Switch Get Capability

Capability of the switch.

Capabilities are indicated at the port, portgroup and switch levels, and for version-specific features. When you retrieve this property from an ESXi host, capability.dvsOperationSupported should always be set to false.

Request
URI
GET
https://{vcenter-host}/sdk/vim25/{release}/DistributedVirtualSwitch/{moId}/capability
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the property attaches; the serialized managed object reference for a request has the form moType/moId, in this case DistributedVirtualSwitch/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns DVSCapability of type(s) application/json
This response body class contains all of the following: DataObject
{
    "_typeName": "string",
    "dvsOperationSupported": false,
    "dvPortGroupOperationSupported": false,
    "dvPortOperationSupported": false,
    "compatibleHostComponentProductInfo": [
        {
            "_typeName": "string",
            "productLineId": "string",
            "version": "string"
        }
    ],
    "featuresSupported": {
        "_typeName": "string",
        "networkResourceManagementSupported": false,
        "vmDirectPathGen2Supported": false,
        "nicTeamingPolicy": [
            "string"
        ],
        "networkResourcePoolHighShareValue": 0,
        "networkResourceManagementCapability": {
            "_typeName": "string",
            "networkResourceManagementSupported": false,
            "networkResourcePoolHighShareValue": 0,
            "qosSupported": false,
            "userDefinedNetworkResourcePoolsSupported": false,
            "networkResourceControlVersion3Supported": false,
            "userDefinedInfraTrafficPoolSupported": false
        },
        "healthCheckCapability": {
            "_typeName": "string"
        },
        "rollbackCapability": {
            "_typeName": "string",
            "rollbackSupported": false
        },
        "backupRestoreCapability": {
            "_typeName": "string",
            "backupRestoreSupported": false
        },
        "networkFilterSupported": false,
        "macLearningSupported": false
    }
}
boolean
dvsOperationSupported
Optional

Indicates whether this switch allows vCenter users to modify the switch configuration at the switch level, except for host member, policy, and scope operations.

boolean
dvPortGroupOperationSupported
Optional

Indicates whether this switch allows vCenter users to modify the switch configuration at the portgroup level, except for host member, policy, and scope operations.

boolean
dvPortOperationSupported
Optional

Indicates whether this switch allows vCenter users to modify the switch configuration at the port level, except for host member, policy, and scope operations.

compatibleHostComponentProductInfo
Optional

List of host component product information that is compatible with the current switch implementation.

featuresSupported
Optional

The DVSFeatureCapability data object represents the capabilities supported by a DistributedVirtualSwitch.

These properties are read-only with the exception of vmDirectPathGen2Supported.


Virtual Infrastructure Operations
POST
Distributed Virtual Switch Add DV Portgroup Task
POST
Distributed Virtual Switch Add Network Resource Pool
POST
Distributed Virtual Switch Create DV Portgroup Task
POST
Distributed Virtual Switch Destroy Task
POST
Distributed Virtual Switch Dvs Reconfigure Vm Vnic Network Resource Pool Task
POST
Distributed Virtual Switch DVS Rollback Task
POST
Distributed Virtual Switch Enable Network Resource Management
POST
Distributed Virtual Switch Fetch DV Port Keys
POST
Distributed Virtual Switch Fetch DV Ports
GET
Distributed Virtual Switch Get Alarm Actions Enabled
GET
Distributed Virtual Switch Get Available Field
GET
Distributed Virtual Switch Get Capability
GET
Distributed Virtual Switch Get Config
GET
Distributed Virtual Switch Get Config Issue
GET
Distributed Virtual Switch Get Config Status
GET
Distributed Virtual Switch Get Custom Value
GET
Distributed Virtual Switch Get Declared Alarm State
GET
Distributed Virtual Switch Get Disabled Method
GET
Distributed Virtual Switch Get Effective Role
GET
Distributed Virtual Switch Get Name
GET
Distributed Virtual Switch Get Network Resource Pool
GET
Distributed Virtual Switch Get Overall Status
GET
Distributed Virtual Switch Get Parent
GET
Distributed Virtual Switch Get Permission
GET
Distributed Virtual Switch Get Portgroup
GET
Distributed Virtual Switch Get Recent Task
GET
Distributed Virtual Switch Get Runtime
GET
Distributed Virtual Switch Get Summary
GET
Distributed Virtual Switch Get Tag
GET
Distributed Virtual Switch Get Triggered Alarm State
GET
Distributed Virtual Switch Get Uuid
GET
Distributed Virtual Switch Get Value
POST
Distributed Virtual Switch Lookup Dv Port Group
POST
Distributed Virtual Switch Merge Dvs Task
POST
Distributed Virtual Switch Move DV Port Task
POST
Distributed Virtual Switch Perform Dvs Product Spec Operation Task
POST
Distributed Virtual Switch Query Used Vlan Id In Dvs
POST
Distributed Virtual Switch Reconfigure DV Port Task
POST
Distributed Virtual Switch Reconfigure Dvs Task
POST
Distributed Virtual Switch Rectify Dvs Host Task
POST
Distributed Virtual Switch Refresh DV Port State
POST
Distributed Virtual Switch Reload
POST
Distributed Virtual Switch Remove Network Resource Pool
POST
Distributed Virtual Switch Rename Task
POST
Distributed Virtual Switch Set Custom Value
POST
Distributed Virtual Switch Update Dvs Capability
POST
Distributed Virtual Switch Update DVS Health Check Config Task
POST
Distributed Virtual Switch Update Network Resource Pool