mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-2789: updateVPC takes in id and name as required
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
49b5e61869
commit
16a76e92ab
|
|
@ -38,11 +38,11 @@ public class UpdateVPCCmd extends BaseAsyncCmd{
|
|||
//////////////// API parameters /////////////////////
|
||||
/////////////////////////////////////////////////////
|
||||
|
||||
@Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType=VpcResponse.class,
|
||||
@Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType=VpcResponse.class, required=true,
|
||||
description="the id of the VPC")
|
||||
private Long id;
|
||||
|
||||
@Parameter(name=ApiConstants.NAME, type=CommandType.STRING, description="the name of the VPC")
|
||||
@Parameter(name=ApiConstants.NAME, type=CommandType.STRING, description="the name of the VPC", required=true)
|
||||
private String vpcName;
|
||||
|
||||
@Parameter(name=ApiConstants.DISPLAY_TEXT, type=CommandType.STRING, description="the display text of the VPC")
|
||||
|
|
|
|||
Loading…
Reference in New Issue