cloudcontrolapi_create_resource function

Creates the specified resource