Vmware Distributed Virtual Switch Add Network Resource Pool

Vmware Distributed Virtual Switch Add Network Resource Pool

Deprecated as of vSphere API 6.0 Use DvsReconfigureVmVnicNetworkResourcePool_Task instead to add a Virtual NIC network resource pool.

Add a network resource pool.

Required privileges: DVSwitch.ResourceManagement

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/VmwareDistributedVirtualSwitch/{moId}/AddNetworkResourcePool
COPY
Path Parameters
string
moId
Required

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

string
release
Required

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


Request Body
AddNetworkResourcePoolRequestType of type(s) application/json
Required

Show optional properties

{
    "configSpec": [
        {
            "key": "string"
        }
    ]
}
{
    "configSpec": [
        {
            "_typeName": "string",
            "dynamicProperty": [
                {
                    "_typeName": "string",
                    "name": "string",
                    "val": {
                        "_typeName": "string"
                    }
                }
            ],
            "key": "string",
            "configVersion": "string",
            "allocationInfo": {
                "_typeName": "string",
                "limit": 0,
                "shares": {
                    "_typeName": "string",
                    "shares": 0,
                    "level": "string"
                },
                "priorityTag": 0
            },
            "name": "string",
            "description": "string"
        }
    ]
}
configSpec
Required

the network resource pool configuration specification.

Authentication
This operation uses the following authentication methods.
Responses
204

No Content

Operation doesn't return any data structure

500

DvsFault: if operation fails on any host or if there are other update failures.

NotSupported: if network I/O control is not supported on the vSphere Distributed Switch.

DvsNotAuthorized: if login-session's extension key does not match the switch's configured extensionKey.

Returns VimFault of type(s) application/json
This response body class contains all of the following: MethodFault
{
    "_typeName": "string",
    "faultCause": "MethodFault Object",
    "faultMessage": [
        {
            "_typeName": "string",
            "key": "string",
            "arg": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "value": {
                        "_typeName": "string"
                    }
                }
            ],
            "message": "string"
        }
    ]
}

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