edit-icon download-icon

ModifyVSwitchAttribute

Last Updated: Apr 09, 2018

Description

Modify the name and description of a VSwitch.

Request parameters

Name Type Required Description
Action String Yes

The action to perform.

Valid value: ModifyVSwitchAttribute

VSwitchId String Yes The ID of the VSwitch.
VSwitchName String No

The name of the VSwitch.

The name must start with an English letter, but cannot start withhttp:// or https://.

The name can contain from 2 to 128 characters including a-z, A-Z, 0-9, underlines, and hyphens.

Description String No

The description of the VSwitch.

The description must start with English letters, but cannot start with http:// or https://.

The description can contain from 2 to 256 characters.

Response parameters

Name Type Description
RequestId String The ID of the request.

Examples

Request example

  1. https://vpc.aliyuncs.com/?Action=ModifyVSwitchAttribute
  2. &VSwitchId=vpc-257gq642n
  3. &<CommonParameters>

Response example

XML format

  1. <ModifyVSwitchAttributeResponse>
  2. <RequestId>C0FD0EED-F90D-4479-803D-DD62335357E5</RequestId>
  3. </ModifyVSwitchAttributeResponse>

JSON format

  1. {
  2. "RequestId":"C0FD0EED-F90D-4479-803D-DD62335357E5"
  3. }
Thank you! We've received your feedback.