in rds/src/main/java/org/jclouds/rds/features/InstanceApi.java [71:107]
Instance create(@FormParam("DBInstanceIdentifier") String id,
@BinderParam(BindInstanceRequestToFormParams.class) InstanceRequest instanceRequest);
/**
* Creates a new DB instance in the specified {@code availabilityZone}
*
* @param id
* unique id of the new instance
* @param instanceRequest
* parameters to create the instance with
* @param availabilityZone
* The EC2 Availability Zone that the database instance will be created in
* @return new instance being created
*/
@Named("CreateDBInstance")
@POST
@Path("/")
@XMLResponseParser(InstanceHandler.class)
@FormParams(keys = ACTION, values = "CreateDBInstance")
Instance createInAvailabilityZone(@FormParam("DBInstanceIdentifier") String id,
@BinderParam(BindInstanceRequestToFormParams.class) InstanceRequest instanceRequest,
@FormParam("AvailabilityZone") String availabilityZone);
/**
* Creates a Multi-AZ deployment. This is not compatible with Microsoft SQL Server.
*
* @param id
* unique id of the new instance
* @param instanceRequest
* parameters to create the instance with
* @return new instance being created
*/
@Named("CreateDBInstance")
@POST
@Path("/")
@XMLResponseParser(InstanceHandler.class)
@FormParams(keys = { ACTION, "MultiAZ" }, values = { "CreateDBInstance", "true" })