Distributed Virtual Portgroup Rename Task

Distributed Virtual Portgroup Rename Task

Renames this managed entity.

Any % (percent) character used in this name parameter must be escaped, unless it is used to start an escape sequence. Clients may also escape any other characters in this name parameter.

See also name.

Required privileges: DVPortgroup.Modify

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/DistributedVirtualPortgroup/{moId}/Rename_Task
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 DistributedVirtualPortgroup/{moId}.

string
release
Required

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


Request Body
RenameRequestType of type(s) application/json
Required
"RenameRequestType Object"
string
newName
Required

newName

Authentication
This operation uses the following authentication methods.
Responses
200

This method returns a Task object with which to monitor the operation.

Returns MoRefTask of type(s) application/json
"MoRefTask Object"

500

DuplicateName: If another object in the same folder has the target name.

InvalidName: If the new name is not a valid entity name.

Returns VimFault of type(s) application/json
This response body class contains all of the following: InlineVimFault0
"VimFault Object"

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/DistributedVirtualPortgroup/{moId}/Rename_Task
                
Distributed Virtual Portgroup Operations
POST
Distributed Virtual Portgroup Destroy Task
POST
Distributed Virtual Portgroup Destroy Network
Deprecated
POST
Distributed Virtual Portgroup Reconfigure DV Portgroup Task
POST
Distributed Virtual Portgroup Reload
POST
Distributed Virtual Portgroup Rename Task
POST
Distributed Virtual Portgroup DV Portgroup Rollback Task
POST
Distributed Virtual Portgroup Set Custom Value
GET
Distributed Virtual Portgroup Get Alarm Actions Enabled
GET
Distributed Virtual Portgroup Get Available Field
GET
Distributed Virtual Portgroup Get Config
GET
Distributed Virtual Portgroup Get Config Issue
GET
Distributed Virtual Portgroup Get Config Status
GET
Distributed Virtual Portgroup Get Custom Value
GET
Distributed Virtual Portgroup Get Declared Alarm State
GET
Distributed Virtual Portgroup Get Disabled Method
GET
Distributed Virtual Portgroup Get Effective Role
GET
Distributed Virtual Portgroup Get Host
GET
Distributed Virtual Portgroup Get Key
GET
Distributed Virtual Portgroup Get Name
GET
Distributed Virtual Portgroup Get Overall Status
GET
Distributed Virtual Portgroup Get Parent
GET
Distributed Virtual Portgroup Get Permission
GET
Distributed Virtual Portgroup Get Port Keys
GET
Distributed Virtual Portgroup Get Recent Task
GET
Distributed Virtual Portgroup Get Summary
GET
Distributed Virtual Portgroup Get Tag
GET
Distributed Virtual Portgroup Get Triggered Alarm State
GET
Distributed Virtual Portgroup Get Value
GET
Distributed Virtual Portgroup Get Vm